Is the state machine complete
Optional
publicThe public context of the machine instance.
This includes all context under the public
key.
Array of tags for the current states
Timestamp for when the state was created
Optional
signal: AbortSignalPrivate
clientReadonly
idThe actor's id ("machineName/instanceName")
Private
instancePrivate
latestPrivate
machinePrivate
Optional
signalPrivate
statePrivate
subscribersPrivate
unsubscribePrivate
_subscribeGet the current state.
the current state of the instance.
Private
processIs the state machine complete
Optional
publicThe public context of the machine instance.
This includes all context under the public
key.
Array of tags for the current states
Timestamp for when the state was created
Private
reportPrivate
setSubscribe to the actor's state. This will call the callback with the current state and any time the state changes.
Optional
error: ((error) => void)Optional
complete: (() => void)Generated using TypeDoc
An "actor" is a client-side representation of a machine instance.
This is intended to closely mimic the notion of an XState actor and should be compatible with any XState utilities that accept actors.