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

MachineArgs

What a guard and an action are called with, as XState calls them: the machine’s context, and the event being taken.

Type Parameter
Context
Property Type
context Context
event EventObject & Record<string, unknown>