Open OR13 opened 7 years ago
Another reason we may want to do this is to provide an alternative to oraclize, which I find very difficult to understand.
You can think of a network request as a state machine, where you have a request and a response event, which together can be viewed as a successful transaction....
We want to show how the event stream can be used to build state machines... we want to expose simple state machine api as a wrapper around the event stream.... Inspiration:
https://github.com/jakesgordon/javascript-state-machine
https://github.com/ifandelse/machina.js
https://lostechies.com/chrispatterson/2015/09/11/sagas-state-machines-and-abandoned-carts/