onExit abstract method

void onExit(
  1. OnExitAction onExit
)

Sets callback that will be called right before machine exits this State.

Implementation

void onExit(OnExitAction onExit);