Async generators
Widely available since 2022-07-15
Async generator functions (async function*
) create iterators that return multiple promises, one after another, on-demand.
Learning resources on MDN
Browser support
- Chrome 63 Released on 2017-12-06
- Chrome Android 63 Released on 2017-12-05
- Edge 79 Released on 2020-01-15
- Firefox 55 Released on 2017-08-08
- Firefox for Android 55 Released on 2017-08-08
- Safari 12 Released on 2018-09-17
- Safari on iOS 12 Released on 2018-09-17
Specifications
- ECMAScript Language Specification (#sec-asyncgeneratorfunction-objects), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-asyncgenerator-objects), from TC39 (Ecma International).