Finite State Machine implementation, with support for guards and enter/exit events.
github.com/fabiospampinato/fsm
fabiospampinato/fsm