jakesgordon / javascript-state-machine

A javascript finite state machine library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get the next state from an event

desoss opened this issue · comments

Considering this transition:
{ name: "close", from: "finished", to: "closed" }

in the onClose method is there a clean way to understand which is the incoming state?