Let's say I have a machine that has states from A to Z.
If the machine receives the event { type: "END_OF_THE_WORLD" }, I want it to transition to state Z
, regardless of its current state.
Do I need to define this transition in each individual state, or is there a way to define it once for all states?
I attempted to search for a solution, but it seems like it's not achievable with the current Xstate implementation. Just double-checking to see if I missed something.