Switching transitions

State A
State B
State C
State D

It's possible to force a new state in your system - at any point - by calling go('state', true) .

You can even do this in a transition handler to force a new state, perhaps depending on an external factor. Any existing transitions or pause states will ba cancelled and the new state will be entered immediately.

This can be useful in asynchronous transitions for example, perhaps for an unexpected condition where you need to show an error state.