footprintjs - v11.2.0
    Preparing search index...

    Interface PendingPause

    A pause a PARALLEL SIBLING of the paused stage raised in the same fan-out — two children of one fork (or two selected branches of one selector) that both paused (9.28.0). Only one pause is asked at a time: the checkpoint's own (pausedStageId), then each of these in turn, with the fan-out's join running only once every child is done.

    Everything needed to raise the sibling's pause again later WITHOUT re-running the sibling: its stage, its path, its captured subflow state, its question.

    // A fork whose two children both ask: the first checkpoint asks c1 and
    // carries c2's pause; resuming it finishes c1, then pauses with c2's
    // question; resuming THAT finishes c2 and runs the join.
    const cp = executor.getCheckpoint()!;
    cp.pausedStageId; // 'c1/ask'
    cp.pendingPauses?.[0].pausedStageId; // 'c2/ask'
    interface PendingPause {
        idempotencyKey?: string;
        pauseData?: unknown;
        pausedBy?: "interrupt";
        pausedExecution?: PausedExecution;
        pausedStageId: string;
        subflowPath: readonly string[];
        subflowStates: Record<string, Record<string, unknown>>;
    }
    Index
    idempotencyKey?: string

    The idempotency key the sibling's execution ran under (as idempotencyKey, 10.1).

    pauseData?: unknown

    The sibling's question (as pauseData).

    pausedBy?: "interrupt"

    How the sibling paused (as pausedBy).

    pausedExecution?: PausedExecution

    Which execution the sibling paused in (as pausedExecution, 9.37.0) — kept so its own resume links to it.

    pausedStageId: string

    The sibling's paused stage (path-prefixed id, as pausedStageId).

    subflowPath: readonly string[]

    Path through subflows to the sibling's paused stage (as subflowPath).

    subflowStates: Record<string, Record<string, unknown>>

    The sibling's own subflow captures — the subflows on ITS path below the fan-out. The subflows above the fan-out are shared with the checkpoint's own pause and are captured again when this pause is raised.