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

MachineAction

MachineAction<Context> = (args) => void

Something a transition, an entry or an exit runs, once the machine’s new state is written. The machine decides and the systems act: the context is the trait’s own data, which a system writes.

Type Parameter
Context
Parameter Type
args MachineArgs<Context>

void