The root element of a state machine model.
Adds a trigger event to the event pool for later evaluation (once the state machine has changed state).
The state at which the trigger event was deferred at.
The trigger event to defer.
Passes an event trigger to a state machine instance for evaluation, which may result in state transitions occurring.
The event to pass in as a trigger.
Returns true if the trigger caused a state change.
Get the last known clean state for a given region.
The region to get the last known state of.
Returns the last known state of the given region or undefined if the region has not yet been entered.
Returns the last entered state to the state machine runtime.
The region to get the last entered state of.
Returns the last entered state for the given region.
Returns the last entered vertex to the state machine runtime.
The region to get the last entered vertex of.
Returns the last entered vertex for the given region.
Updates the transactional state of a region with the last entered state.
The state set as its parents last entered state.
Updates the transactional state of a region with the last entered vertex.
The vertex set as its parents last entered vertex.
Generated using TypeDoc
Interface for state machine instance classes to implement, allowing users of state to create their own to suit their persistance and transaction management needs.