Type Alias Config<param>

Config<param>: {
    initial_state: GetDefault<param, "InitialState", Json>;
    pointcut: Pointcut<param>;
}

Configuration object for both flexible weaving.

Type Parameters

  • param extends Partial<Atom> & {
        AdviceGlobalVariable?: string;
        InitialState?: Json;
        Point?: Json[];
    } = {}

Type declaration

  • initial_state: GetDefault<param, "InitialState", Json>

    The initial state passed to advice functions. It will be cloned with JSON.

    null

  • pointcut: Pointcut<param>

    The pointcut for the standard weaving API.

    false