thingamabob
A tiny event emitter-based finite state machine
Under development, but usable
-
configure when initializing only (demo helpers to add/remove states?)
-
state transition semantics vs "event" semantics (no methods/mixin)
-
helper for next method
-
helper for 'once' callback
// transition function returns a promise? / proomise API ? // transition function supports result callback? // a transtition that throws an error can be canceled?