The type of the shared state machine definition.
Readonly
dispatch: ((action: Action<D>) => void)The dispatch function to send an event to the shared state machine.
Dispatch an action to the shared state machine.
Readonly
getThe current state of the shared state machine.
Readonly
instance: Machine<D>Instance of the state machine.
Readonly
send: Send<D>The send function to send an event to the shared state machine.
Readonly
setThe function to set the context of the shared state machine.
Readonly
subscribe: ((callback: ((state: State<D>) => void)) => (() => void))Subscribes to state changes in the shared state machine.
The shared state machine.