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

    Variable lazyHandlerConst

    lazyHandler: {
        <Def extends Operation.Definition<any, any, any>>(
            load: () => Promise<{ default: Operation.WithHandler<Def> }>,
        ): (op: Def) => LazyHandler<Def>;
        <Def extends Operation.Definition<any, any, any>>(
            op: Def,
            load: () => Promise<{ default: Operation.WithHandler<Def> }>,
        ): LazyHandler<Def>;
    } = ...

    Pairs a definition with a lazily-imported handler module, keeping the handler body out of the static graph while checking that it implements THIS definition.

    Type declaration

    GetBlueskyTargets.pipe(Operation.lazyHandler(() => import('./get-bluesky-targets')))