@eagleoutice/flowr - v2.17.16
    Preparing search index...
    interface RegisterHookConfig {
        args: {
            add?: ArgumentSlot & { default: boolean };
            after?: ArgumentSlot & { default: boolean };
            expr: ArgumentSlot;
        };
        hook: OnFnExit;
    }
    Index
    args: {
        add?: ArgumentSlot & { default: boolean };
        after?: ArgumentSlot & { default: boolean };
        expr: ArgumentSlot;
    }

    Type Declaration

    • Optionaladd?: ArgumentSlot & { default: boolean }

      argument to control whether to add or replace the current hook

    • Optionalafter?: ArgumentSlot & { default: boolean }

      argument to control whether to run the hook before or after other hooks

    • expr: ArgumentSlot

      the expression to register as hook

    hook: OnFnExit

    name of the hook to register, 'fn-exit' if it triggers on exit