3 ms·
Does this depend on using --harmony? Or are you faking the generators?
by ulisesrmzroche 13y ago
Does this depend on using --harmony? Or are you faking the generators?
- lucio 13y agotoday 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.