Interface: FlowBranchCase<TFlowIn, THandle>
Defined in: ast/flow-branch-node.ts:14
Conditional branch case entry (when(predicate, $sub => ...)) inside a FlowBranchNode.
Pairs a synchronous predicate over flowInput with the ordered sequence of steps or nested branches executed when predicate evaluates to true.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TFlowIn | unknown | Enclosing flow input payload type. |
THandle | unknown | Runtime handle type of the active isolation scope. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
predicate | readonly | BivariantCallback<[input: TFlowIn], boolean> | Synchronous predicate evaluated against flowInput to select this branch case. | ast/flow-branch-node.ts:16 |
steps | readonly | readonly ( | FlowStepNode<unknown, unknown, THandle, string> | FlowBranchNode<unknown, unknown, THandle, string>)[] | Ordered sequence of steps or nested branches executed when predicate(flowInput) returns true. | ast/flow-branch-node.ts:18 |