Async State Map Builder
Properties
Functions
Create an automatic pop transition when currentState is startState and when guard is true. The transition will target targetMap and targetState
Creates an automatic push transition for startState. When the currentState is startState and guard is true the targetMap and targetState will become current after executing the optional action
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.
Creates a pop transition that applies to the startState on a given event. This will result in a new push transition if the guard expression is true
Creates a push transition for a startState and triggered by event and guard expression being true
. The transition will change to targetMap and targetState.
Create an automatic pop transition when currentState is startState and when guard is true. The transition will target targetMap and targetState
Creates an automatic push transition for startState. When the currentState is startState and guard is true the targetMap and targetState will become current after executing the optional action
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.