vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias SupersedeOptions

    type SupersedeOptions = {
        key?: (cmd: Command) => string | null | undefined;
        actions?: string[];
    }
    Index
    key?: (cmd: Command) => string | null | undefined

    Derive the supersede key from a command. Commands resolving to the SAME key auto-cancel their predecessor; different keys race independently. Return null/undefined to skip superseding for that command. Default: commandKey(action, target) — same default idempotent uses, which already includes the action name, so distinct actions never collide and are never silently dropped by this plugin.

    actions?: string[]

    Restrict to specific actions (glob patterns). Default: all.