pop Transition
fun popTransition(startState: S, event: E, targetState: S?, targetMap: String?, guard: StateGuard<C, A>?, action: AsyncStateAction<C, A, R>?)
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
Parameters
start State
The pop transition will apply to the specific state.
event
The event that will trigger the transition
target State
The state after the transition
target Map
The map after the transition
guard
The expression must evaludate to true before the transition will be trigger.
action
The optional action that will be invoked.