Interface: ReplaceWithPromotionParams<TIn, THandle>
Defined in: runtime/flow/replace-with-promotion-params.ts:14
Parameters for promoting a .replaceWith(replacementActor, mapInput) handler on a flow step (SPEC.md §3.6 & §3.9).
Supplies the active FlowExecutionContext, the aborted stepExecId, the replacement executable, the projected replacement input, and optional abortHook.
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 |
|---|---|---|---|---|
abortHook? | readonly | AbortHookASTNode<THandle> | Optional abort hook AST node executed before replacement step start. | runtime/flow/replace-with-promotion-params.ts:28 |
baseScopeCheckpoint | readonly | string | undefined | Base scope checkpoint captured at the start of the interrupted step. | runtime/flow/replace-with-promotion-params.ts:22 |
flowCtx | readonly | FlowExecutionContext<TIn, THandle> | Active flow execution context. | runtime/flow/replace-with-promotion-params.ts:16 |
replacementExecutable | readonly | StepASTNode<unknown, unknown, THandle> | Replacement executable AST node to promote and run. | runtime/flow/replace-with-promotion-params.ts:24 |
replacementInput | readonly | TIn | Projected replacement input produced by handler.mapReplacementInput(...). | runtime/flow/replace-with-promotion-params.ts:26 |
stepExecId | readonly | string | Step execution identifier of the interrupted step being replaced. | runtime/flow/replace-with-promotion-params.ts:18 |
stepId | readonly | string | Logical step identifier in flow.nodes. | runtime/flow/replace-with-promotion-params.ts:20 |
stepTelemetry? | readonly | UniversalStepTelemetry<Record<string, unknown>, Record<string, unknown>> | Optional pre-computed UniversalStepTelemetry snapshot for the interrupted step. | runtime/flow/replace-with-promotion-params.ts:30 |