effex-monorepo
    Preparing search index...

    Interface GuardOptions

    Options for the guard method.

    interface GuardOptions {
        onBlocked?: "fail" | "ignore";
    }
    Index

    Properties

    Properties

    onBlocked?: "fail" | "ignore"

    What to do when the callback is blocked (not in an enabled state).

    • "fail": Return Effect.fail with InvalidTransition error
    • "ignore": Return Effect.void (do nothing)
    "fail"