Skip to content

@oona/vlo / index / SeqState

Interface: SeqState ​

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:24

State of a workflow built by sequence. mapInput, select, when and output callbacks read it; the run completes with results (or output(state)) as its output.

Properties ​

fan? ​

optional fan?: FanState

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:34

Present only while a fanOut or fanOutRuns phase is in flight.


input ​

input: Json

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:28

The run's start input.


phase ​

phase: number

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:26

Index of the phase currently in flight.


results ​

results: Record<string, Json>

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:30

Outputs of finished step, fanOut and fanOutRuns phases, keyed by activity or workflow name.


signals ​

signals: Record<string, Json>

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:32

Payloads of finished waitFor phases, keyed by signal name; null after a "continue" timeout.


usage? ​

optional usage?: Usage

Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:39

The run's banked usage as of the last folded event (event.usage_total). Absent on a checkpoint written before any event was folded with this field.