Skip to content

ExecutionStateResult

Defined in: src/types/index.ts:1050

Per-state result derived from an execution’s event history.

attempts: number;

Defined in: src/types/index.ts:1052

Number of attempts (1 + retries); always ≥ 1 for states that were entered


optional durationMs?: number;

Defined in: src/types/index.ts:1054

Total time spent in the state in milliseconds (summed across re-entries)


optional error?: string;

Defined in: src/types/index.ts:1056

Error name associated with a failed/caught state


status: ExecutionStateStatus;

Defined in: src/types/index.ts:1058

Outcome of the state