Let me summarize my question as follows,
I know that the stateMachine.sendEvent(Event e)
returns a boolean value representing if the event triggers a transition or not, but it also triggers the transition if true
.
However, I want only to check if the state machine is triggerable by that event or not, and not to trigger the transition afterwards. Is there any way to do that?