Promise.allSettled()
Widely available since 2023-01-28
The Promise.allSettled()
static method waits for an array of promises to settle (resolve or reject).
Learning resources on MDN
Browser support
- 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).