Skip to content

Interface: FlowRunResult ​

Defined in: runtime/flow/flow-run-result.ts:7

Terminal outcome returned by executeFlow() (SPEC.md §3.9).

Captures the terminal exit state, final scope receipt, completed step outputs, and folded custom telemetry metrics.

Properties ​

PropertyModifierTypeDescriptionDefined in
customTelemetry?readonlyReadonly<Record<string, unknown>>Custom telemetry metrics folded by flow.telemetry, if configured.runtime/flow/flow-run-result.ts:17
exitStatereadonlystringTerminal exit state string (flow.exitState, 'SUSPENDED', or failure state).runtime/flow/flow-run-result.ts:11
runIdreadonlystringIdentifier of the flow run.runtime/flow/flow-run-result.ts:9
scopeReceiptreadonlyRecord<string, unknown>Final scope receipt (TReceipt) inspected before releasing the root scope.runtime/flow/flow-run-result.ts:13
stepOutputsreadonlyReadonly<Record<string, unknown>>Map of completed stepId (or outer branchStepId) to its validated output value.runtime/flow/flow-run-result.ts:15

Released under the MIT License.