@usine/core/step
Classes
Section titled “Classes”A named unit of work inside a run, exactly one per run in v1. The result is stored when an attempt succeeds and is none until then.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Step(…
args):Step
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyname:string&Brand<"StepName">
result
Section titled “result”
readonlyresult:Option<StepResult>
readonlyrunId:string&Brand<"RunId">
Type Aliases
Section titled “Type Aliases”StepName
Section titled “StepName”StepName = typeof
StepName.Type
The loop-authored step name. Renaming a step in the loop file retires it and its stored results stay under the old name (ADR 0002).
Variables
Section titled “Variables”StepName
Section titled “StepName”
constStepName:Schema.brand<Schema.NonEmptyString,"StepName">
The loop-authored step name. Renaming a step in the loop file retires it and its stored results stay under the old name (ADR 0002).