Skip to content

@oona/vlo / index / StepOptions

Interface: StepOptions ​

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

Options for step.

Properties ​

id? ​

optional id?: string

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

Explicit step id; default: the kernel-derived task#n. Set it when a handler keys on the step id.


onFailure? ​

optional onFailure?: OnFailure

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

"fail" (default) fails the run on a task that did not succeed; "continue" stores null and advances.


when? ​

optional when?: (state) => boolean

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

Pure gate evaluated when the phase is entered; false stores null and advances without a task.

Parameters ​

state ​

SeqState

Returns ​

boolean