support passing the rest of the arguments to co into the generator
function *gen(...args) { }
co(gen, ...args);
isGeneratorFunctionco.wrap()co.wrap() for wrapping generator functionssetImmediate() shim for node 0.8. semi-backwards breaking.
Users are expected to shim themselves. Also returns CommonJS browser support.q with bluebird in benchmarks and testssetImmediate() fallback to process.nextTickco(function *(){}) now returns a reusable thunkthis must now be passed through the returned thunk, ex. co(function *(){}).call(this)yield object supportisGenerator() function more genericco.wrap() [breaking change]http.get() and streams2 APIyield generatorFunction supportyield generator support