← Back to release summary

Async Iteration / Async Generators

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 63)
Intent stage
None

Summary

Async Generator functions and a new iteration protocol (used by for-await-of loops and yield* expressions), to streamline consumption or implementation of streaming data sources.

Standards & signals

Docs: https://jakearchibald.com/2017/async-iterators-and-generators/ http://2ality.com/2016/10/asynchronous-iteration.html https://ponyfoo.com/articles/javascript-asynchronous-iteration-proposal

View on chromestatus.com