It would be great if I could pass a closure which is always called when a transition happens: For example: ``` sm! { This { InitialStates { Stale } Startup { Stale => Starting (&application.stop) } Shutdown { Stale => Stopping (&application.stop) } ```
It would be great if I could pass a closure which is always called when a transition happens:
For example: