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

MachineEvent

MachineEvent<Name> = Name | object & Record<string, unknown>

What a machine is sent: an event’s name, or the event with its fields.

Type Parameter Default type
Name extends string string