@dxos/compute - v0.16.0
    Preparing search index...

    Interface LazyHandler<Def>

    A definition paired with the module that implements it. The pairing is TYPED — the loaded module's default must be WithHandler<Def> for the same Def — so a definition can no longer be wired to another operation's handler and fail only at dispatch.

    interface LazyHandler<
        Def extends Operation.Definition.Any = Operation.Definition.Any,
    > {
        "~@dxos/operation/LazyHandler": "~@dxos/operation/LazyHandler";
        definition: Def;
        load: () => Promise<{ default: Operation.WithHandler<Def> }>;
    }

    Type Parameters

    Index

    Properties

    "~@dxos/operation/LazyHandler": "~@dxos/operation/LazyHandler"
    definition: Def
    load: () => Promise<{ default: Operation.WithHandler<Def> }>