Related content
Previous snippet
Regardless of how a State is exited, the StateMachine is deemed to have “left” that State only after the
exit
Behavior (if defined) of that State has completed execution.