onStopped

inline fun StateMachine.onStopped(crossinline block: suspend StateMachine.() -> Unit): StateMachine.Listener