cassiozen/useStateMachine

Top level events

Closed this issue · 0 comments

Right now events (under the "on" key) can only be declared within a state. top-level events can be helpful to avoid redundancy / keep the state machine terse.