hsm
hsm copied to clipboard
[FEATURE] SubSub...State explicit exits from RootState
Problem
If you are currently in a sub sub .... sub state of your state machine and an event is triggered triggered in the root state machine then this event is unexpected.
Current Workaround
Don't build state machines with substate level higher then one.
Proposed Solution
When generating substate exits also consider more levels.