@oona/vlo / index / StepOptions
Interface: StepOptions
Defined in: sdk/ts/sdk/src/core/helpers/sequence-types.ts:49
Options for step.
Properties
id?
optionalid?: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?
optionalonFailure?: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?
optionalwhen?: (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
Returns
boolean