IFClite TypeScript API
    Preparing search index...

    Interface NodeRunContext<H>

    interface NodeRunContext<H> {
        host: H;
        laneKey: string | null;
        signal?: AbortSignal;
        tracking?: LaneTracking;
        log(level: LogLevel, message: string): void;
        markVolatile?(): void;
    }

    Type Parameters

    • H
    Index
    host: H
    laneKey: string | null

    The lane this invocation computes, or null when the node was not lifted.

    signal?: AbortSignal
    tracking?: LaneTracking

    Present on tracked nodes' run only; remove gets the GlobalId as its argument instead.

    • Parameters

      Returns void

    • Reports that this invocation's result depends on the world outside the graph (it made a network request), so the node's outputs from this run are not memoised: the next run computes them again. The per-run form of NodeDef.volatile, for a node that only sometimes reaches out (a script that may or may not call bim.network.fetch). Optional so a context built outside the scheduler (a unit test) need not supply it.

      Returns void