The type of the shared state machine definition.
Readonlydispatch: ((action: Action<D>) => void)The dispatch function to send an event to the shared state machine.
Dispatch an action to the shared state machine.
ReadonlygetThe current state of the shared state machine.
Readonlyinstance: Machine<D>Instance of the state machine.
Readonlysend: Send<D>The send function to send an event to the shared state machine.
ReadonlysetThe function to set the context of the shared state machine.
Readonlysubscribe: ((callback: ((state: State<D>) => void)) => (() => void))Subscribes to state changes in the shared state machine.
The shared state machine.