AbstractStatic[Static OptionalclockStatic OptionalpersistContext fields snapshot() captures and restore() sets back.
Static OptionalstatesThe root state enum, when it cannot be inferred from the decorators.
StaticstrictThrow on an event the current state does not handle, instead of warning.
Running child machines, invoked then spawned, by id. Diagrams draw the actor tree from it.
The current state: the root enum's value, or { region: value } for parallel regions.
Actors registered by systemId anywhere in this machine's tree.
Delivers { type, ...payload } to on(type) listeners outside the machine. type is a method
of the machine, this.emit(this.factClosed), named factClosed; or that name as a string.
Streams the interpreter's events, microsteps and snapshots. Does not start the machine.
m.on(m.factClosed, fn): listens for what this.emit(this.factClosed) delivers.
Puts the machine in snapshot's state without running actions. Throws if it does not fit.
Sends an event to the machine that spawned or invoked this one.
Sends an event to a spawned or invoked actor by id.
Called after every event that took a transition, and once on start.
StaticschemaA Standard Schema that accepts snapshots this class can restore.
Staticto
Timers for
@after. Tests assignmanualClock(); it is inherited by subclasses.