yielded
Another generator runner
yielded doesn't help you with callback generator, it uses promises. To convert a function with a callback to a promise, you can use springbokjs-utils promiseCallback.
Installation
npm install --save yielded
How to use
var Y = ;var fs = ; Y;
Parallel executions
With arrays
You can use arrays with values and promises:
Y;
Iterator inside
var Y = ;var fs = ; var { try var fileContents = fs; console; catch err console; }; Y;
Credits
This library is an attempt to understand generators and yields, the result of my research of other libraries and taking the parts I like from them. Libraries I took inspiration from are: