Function: executeFlow()
ts
function executeFlow<TIn, THandle>(flowCtx): Promise<FlowRunResult>;Defined in: runtime/flow/execute-flow.ts:176
Executes a FlowNode from start or crash-recovery resume through its sequential steps and conditional branches (SPEC.md §3.9).
Compiles and pins PrefixGroupNode wire prefixes at run start, loops across flow.nodes (supporting live .rewindTo() jumps), seals the run's topology overlay on completion, and releases the root scope in finally.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated flow input payload type. |
THandle | unknown | Runtime handle type of the active isolation scope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
flowCtx | FlowExecutionContext<TIn, THandle> | Configured flow execution context. |
Returns
Promise<FlowRunResult>
Terminal flow run receipt and outputs.