yoco
Your custom co routines. Use redux middleware to define custom yield behavior, using redux-flo for control flow.
Installation
$ npm install yoco
Usage
let arr = let log = arr // => ['hello', 'world']
API
yoco(mw)
mw
- redux middleware or array of middleware
Returns: a custom co routine runner
map(fns)
fns
- functions to perform left to right composition over
Returns: a custom co routine runner
let wacky = { return 'wacky ' + str}
License
MIT