Async State Machine Builder
Functions
This function will set an action that will be invoked when the state has changed and transition is complete. This will be invoked after onEntry and onExit handlers.
This function defines an action to be invoked when no transitions are found for given event.
This function defines an action to be invoked when no transitions are found matching the given state and on.
This function defines an action to be invoked when no transitions match the event. The currentState will be changed to second parameter of the Pair.
This function defines an action to be invoked when no action is found matching the current state and event. This will be an internal transition and will not cause a change in state or invoke entry or exit functions.
This function defines an action to be invoked when no entry action is defined for the current state.
This function defines an action to be invoked when no exit action is defined for the current state.
This function is used to provide a method for determining the initial state of the FSM using the provided content.
This function is used to provide a method for determining the initial state of the FSM in cases where there may be one or more named statemaps. In this case the state may be a stack or name / value pairs representing the map name and pushed state.
This function can be used to define a new state machine.
This function defines a transition that doesn't change the state of the state machine when the currentState is startState and the on is received and after the action was performed. No entry or exit actions performed.
This function defines a transition that will be triggered when the currentState is the same as the startState and on is received. The FSM currentState will change to the targetState after the action was executed. Entry and Exit actions will also be performed.
This function defines a transition that doesn't change the state also known as an internal transition. The transition will only occur if the guard expression is met.
This function defines a transition from the currentState equal to startState to the targetState when event is received and the guard expression is met. The action is executed after any exit action and before entry actions.