IFClite TypeScript API
    Preparing search index...

    Interface BridgeCallContext

    interface BridgeCallContext {
        appendUiSurface?: AppendUiSurface;
        hostSignal?: AbortSignal;
        jsonBridgeArguments?: boolean;
        sandboxSessionId: string;
    }
    Index
    appendUiSurface?: AppendUiSurface
    hostSignal?: AbortSignal

    Cancellation for host work this call starts (#2419), aborted when the run stops waiting (timeoutMs) and when the sandbox is disposed. An async call: that can take real time must forward it so its work stops with the run.

    Optional because the bridge supplies it, not the caller: buildBridge gets the session-scoped half and buildNamespace adds the signal per call, so a call: invoked directly by a unit test can pass a context without one.

    jsonBridgeArguments?: boolean
    sandboxSessionId: string