Promise.allSettled()
Widely available
The Promise.allSettled()
static method waits for an array of promises to settle (resolve or reject).
To learn more, see
Promise.allSettled() at MDN.
Compatibility
- Chrome 76 Released on 2019-07-30
- Chrome Android 76 Released on 2019-07-30
- Edge 79 Released on 2020-01-15
- Firefox 71 Released on 2019-12-10
- Firefox for Android 79 Released on 2020-07-28
- Safari 13 Released on 2019-09-19
- Safari on iOS 13 Released on 2019-09-19
Specifications
- ECMAScript Language Specification (#sec-promise.allsettled), from TC39 (Ecma International).