weasel API - v0.8.0
    Preparing search index...

    Interface ImmediateInvoker

    Fire-once invocation. Runs to completion synchronously (or fires off an async side-effect; the registry doesn't wait).

    interface ImmediateInvoker {
        timing: "immediate";
        run(deps: ActionDeps, params?: Record<string, unknown>): void;
    }
    Index

    Properties

    Methods

    Properties

    timing: "immediate"

    Methods

    • params carries the matched binding's opts.params. When invoked via the legacy Action.run bridge or from the command palette with no per-binding context, params is undefined; descriptors should default to a sensible variant.

      Parameters

      • deps: ActionDeps
      • Optionalparams: Record<string, unknown>

      Returns void