Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevcjones/rxjs-fsm

Just a finite statemachine done with RXJS
https://github.com/kevcjones/rxjs-fsm

angular finite-state-machine rxjs typescript

Last synced: 3 months ago
JSON representation

Just a finite statemachine done with RXJS

Awesome Lists containing this project

README

        

# rxjs-fsm ![https://travis-ci.org/KevCJones/rxjs-fsm.svg?branch=master](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](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