> > Basically, as long as the outermost generator is > run by an async runner, both lazy and async execution of all nested > generators/iterators is possible.
Sure - it's the "async runner" part though (e.g. `spawn`), which is the use case presented here. async function F(p1, p2, ...pN) { /*...*/ } Would (very) approximately de-sugar to something like: function F(...args) { return spawn(this, args, function* (p1, p1, ...pN) { /* ... */ }); }
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss