typescript-fsm
typescript-fsm copied to clipboard
Conditional transitions
Would be really nice to have conditional transitions. Normally in a FSM you can define more than one transition for the same state/event and depending on the condition one transition is selected or not (first transition that fulfil a condition is chosen even if another transition would be a good candidate).
The transitions are evaluated on order of declaration.