footprintjs - v11.2.0
    Preparing search index...

    Interface SubflowResult

    interface SubflowResult {
        parentStageId: string;
        pipelineStructure?: unknown;
        subflowId: string;
        subflowName: string;
        treeContext: {
            globalContext: Record<string, unknown>;
            history: unknown[];
            initialState?: Record<string, unknown>;
            logAddress?: LogAddress;
            readSources?: EngineReadSources;
            stageContexts: Record<string, unknown>;
        };
    }
    Index
    parentStageId: string
    pipelineStructure?: unknown
    subflowId: string
    subflowName: string
    treeContext: {
        globalContext: Record<string, unknown>;
        history: unknown[];
        initialState?: Record<string, unknown>;
        logAddress?: LogAddress;
        readSources?: EngineReadSources;
        stageContexts: Record<string, unknown>;
    }

    Type Declaration

    • globalContext: Record<string, unknown>

      The subflow's final state. The traverser's record holds the LIVE heap — what a plain getSnapshot() and the checkpoint see. Under getSnapshot({ redact: true }) the executor serves the subflow's own redacted mirror here instead (9.20.0; handlers/servedSubflowResults), which is exactly what stateAt folds history to.

    • history: unknown[]
    • OptionalinitialState?: Record<string, unknown>

      The subflow's OWN fold base — the state its isolated runtime started from, before its first commit. The sibling of RuntimeSnapshot.initialState, carried here so a subflow's history can be folded offline exactly like the run's log (stateAt, timeTravel(...).drill(mount)). Frozen and detached.

      Normally {}: a subflow's inputMapper seed is itself the first COMMIT in history (the root context commits it), not a pre-run base.

    • Optional ReadonlylogAddress?: LogAddress

      Identity of the local history, not its parent's log.

    • Optional ReadonlyreadSources?: EngineReadSources

      Native source book for this invocation's own log. Memory observation only; no parent receipt applies.

    • stageContexts: Record<string, unknown>