Interface: HierarchicalRewindDrainParams<TIn, THandle>
Defined in: runtime/flow/hierarchical-rewind-drain-params.ts:13
Parameters for executing the 4-step Hierarchical Rewind Drain Barrier (SPEC.md §3.10).
Supplies the flow execution context, target rewindToStepId, updated flow input, and optional onRewind scope hook.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated flow input payload type. |
THandle | unknown | Runtime handle type of the active isolation scope. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
flowCtx | readonly | FlowExecutionContext<TIn, THandle> | Active flow execution context. | runtime/flow/hierarchical-rewind-drain-params.ts:15 |
onRewindHook? | readonly | ScopeRewindHookASTNode<THandle> | Optional scope rewind hook executed during Step 4 of the drain barrier. | runtime/flow/hierarchical-rewind-drain-params.ts:21 |
rewindToStepId | readonly | string | null | Target step or branch ID in flow.nodes to rewind execution to (or null when cancelling). | runtime/flow/hierarchical-rewind-drain-params.ts:17 |
stepTerminalStatus? | readonly | "INTERRUPTED" | "CANCELLED" | Terminal status recorded on the interrupted active step ('INTERRUPTED' or 'CANCELLED'). | runtime/flow/hierarchical-rewind-drain-params.ts:25 |
targetStepBaseScopeCheckpoint? | readonly | string | Optional base scope checkpoint recorded when the target step originally started. | runtime/flow/hierarchical-rewind-drain-params.ts:23 |
updatedInput | readonly | TIn | Updated flow input payload produced by onSignal.updateMapper. | runtime/flow/hierarchical-rewind-drain-params.ts:19 |