Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
update or make an alternate version for the ES6 generators API #28
The ES6 generators and iterators API is a little different from the one initially implemented in Firefox, which dates back to an earlier design. Update task.js to work with the new API, which can now be tested in the latest build of V8:
We should hopefully start implementing the new generators API soon in SpiderMonkey as well, so that the new version of task.js can then be used.
Just to play around with this and generators in node, I did this as well as updating it to work with node's module system. The change to work with the updated protocol was trivial, only requiring modification to