Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

RoutineContext

The machine’s context: the count of steps entered, which tells the routine system a step entered again from one it stayed in, the count a resume() last entered at, and each between wait’s roll, in roll1, roll2 and on.

  • Record<string, number>

[key: string]: number

Property Type Description
entered number -
resumedEntry number The entered count of the step a resume() last came back to, or -1 before any.