Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 ,node-fibers, and the same with generators: https://github.com/luciotato/waitfor-ES6



It's good that it's not faking generators though, stick with harmony. Fakes slow to a crawl after a while.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: