on Exit
Defines an action to be performed after the currentState was changed.
Parameters
action
The action will be performed when leaving any state.
Defines an action to be performed after the currentState was changed.
The action will be performed when leaving any state.