1.0.1 • Published 5 years ago

rx-fsm v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

rxjs-fsm https://travis-ci.org/KevCJones/rxjs-fsm.svg?branch=master

Just a finite statemachine done with RXJS. Will need some love before its production ready like tests, but it's not complicated, so it's probably safe if you need it, use it.

Why?

Because i needed it, and it was a good test of remind myself how to write one but to write one using rxjs.

Examples

Stackblitz playground

https://stackblitz.com/edit/stripe-fsm-npm

TOD

  • + ~Write tests~
  • + ~Configure CI~
  • [] timeout triggers observable style - timer(), or when something$ emits from somewhere
  • [] on entry/exit triggers
  • [] Write better docs
  • [] Add some examples
  • [] Consider visual outputs for FSM