3 ms·
today it depends on --harmony (only for "yield"), but it is trivial to add an option to use node-fibers instead (same functionality of ES6-generators for node>=
by lucio 13y ago
today it depends on --harmony (only for "yield"), but it is trivial to add an option to use node-fibers instead (same functionality of ES6-generators for node>=v0.8).
See https://github.com/luciotato/waitfor https://github.com/luciotato/waitfor ,node-fibers,
and the same with generators: https://github.com/luciotato/waitfor-ES6 https://github.com/luciotato/waitfor-ES6
- ulisesrmzroche 13y agoIt's good that it's not faking generators though, stick with harmony. Fakes slow to a crawl after a while.