7 ms·
Are there any plans to introduce generators or async/await?
by alptrv 12y ago
Are there any plans to introduce generators or async/await?
- munificent 12y agoYes! From Gilad: > We are working out a proposal that is somewhat similar to async-await in C#. Again, we hope to finalize that in time for the next rev of the standard. Details as soon as coherent articles explaining it all can be put together.
- _greim_ 12y agoI'd like to know too. As clunky as JS is, generators make possible some pretty interesting stuff[1] that I would miss in Dart. [1] https://github.com/visionmedia/co https://github.com/visionmedia/co
- Offler 12y agoIt sounds like they will add support for the same constructs as JS will have in ES7 https://github.com/lukehoban/ecmascript-asyncawait https://github.com/lukehoban/ecmascript-asyncawait