Re:Wait.for: Sequential programming for Node.js (beta)
by chrisohara on Thursday August 22, 2013 @11:33PM
(#6261554)
Why not use harmony generators?
Generators are provided by V8, don't require an external fibers extension (i.e. hack), and will be available in the next node stable via `node --harmony-generators`.
Re:Wait.for: Sequential programming for Node.js (beta)
by lucio on Friday August 23, 2013 @12:18AM
(#6261686)
node-fibers is under the hood, and works on the actual node stable. I hope ES6 generators -when stable- will provide similar tools, so wait.for will be based on ES6 generators.
Generators are provided by V8, don't require an external fibers extension (i.e. hack), and will be available in the next node stable via `node --harmony-generators`.
Here's an example for those interested: https://github.com/visionmedia/co