Currently, there are 2 types of handlers in StateMachine:
based on event transition
based on state transition
Suppose I want to have a handler that does not care how I got to from one state to another - it could be via state -> state transition or based on some event.
It would be nice if there was a way to handle this scenario with a single handler.
@sluramod
Hi, thanks for your idea :sparkles::bulb::sparkles:
I have just implemented a rough sketch it in #41, so please take a look and tell me your thoughts!
Currently, there are 2 types of handlers in StateMachine:
Suppose I want to have a handler that does not care how I got to from one state to another - it could be via state -> state transition or based on some event.
It would be nice if there was a way to handle this scenario with a single handler.