Body, Mind & Soul — API Reference
    Preparing search index...
    toggleEffect: {
        configPartial: string;
        execute: (
            outcome: any,
            __namedParameters: { effectDoc: any },
        ) => Promise<void>;
    }

    Toggle, enable, or disable the effect that owns this trigger. Config: { mode: "toggle" | "on" | "off" }

    Type Declaration

    • configPartial: string
    • execute: (outcome: any, __namedParameters: { effectDoc: any }) => Promise<void>