Async functions
Widely available since 2019-10-05
The async
and await
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 55 Released on 2016-12-01
- Chrome Android 55 Released on 2016-12-06
- Edge 15 Released on 2017-04-05
- Firefox 52 Released on 2017-03-07
- Firefox for Android 52 Released on 2017-03-07
- Safari 10.1 Released on 2017-03-27
- Safari on iOS 10.3 Released on 2017-03-27
Specifications
- ECMAScript Language Specification (#sec-async-function-definitions), from TC39 (Ecma International).