Async functions
Widely available
The async
and await
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains.
To learn more, see
async function at MDN.
Compatibility (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).