footprintjs - v11.2.0
    Preparing search index...

    Interface ResumeHop<TOut, TScope>

    One subflow boundary on the way back to a paused stage.

    interface ResumeHop<TOut = any, TScope = any> {
        entry?: StageNode<TOut, TScope>;
        pendingPauses?: readonly QueuedPause[];
        seed?: Record<string, unknown>;
        subflowId: string;
    }

    Type Parameters

    • TOut = any
    • TScope = any
    Index

    Optional Readonlyentry

    Where this subflow's traversal starts on the re-entry: the mount of the next subflow on the path, or — on the last hop — the paused stage's stand-in, each with its dispatcher's continuation attached (see the module doc). Absent: the subflow's own root — a seed-only hop (see ResumeEntry.fromCaptures), or an outer subflow whose capture the checkpoint lacks.

    pendingPauses?: readonly QueuedPause[]

    Pauses of parallel siblings whose fan-out sits in THIS subflow, raised in order once entry's chain ends (the first is raised, the rest wait behind it). Absent when no sibling is waiting here.

    seed?: Record<string, unknown>

    The subflow's state at the pause (checkpoint.subflowStates[subflowId]). Seeds the nested runtime INSTEAD of the inputMapper's values — the capture already holds the post-input, pre-pause memory (the inputMapper still runs, for the stages' read-only args only). Absent when the checkpoint holds no capture for this subflow; the inputMapper then seeds it, as on any entry.

    subflowId: string

    The path-prefixed subflow id (a FlowchartCheckpoint.subflowPath entry).