0.9.1 • Published 8 years ago
thingamabob v0.9.1
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
- https://github.com/ifandelse/machina.js
// transition function returns a promise? / proomise API ? // transition function supports result callback? // a transtition that throws an error can be canceled?