Web platform features explorer

Promise.any()

Widely available since 2023-03-16
Tags: javascript Groups: JavaScript > Promises

The Promise.any() static method returns a promise that fulfills as soon as the first of an iterable of promises fulfills, with that promise's value. Otherwise, it rejects with an AggregateError when all of the promises have rejected.

Learn more

Specifications

Browser support

  • Chrome 85 Released on 2020-08-25
  • Chrome Android 85 Released on 2020-08-25
  • Edge 85 Released on 2020-08-27
  • Firefox 79 Released on 2020-07-28
  • Firefox for Android 79 Released on 2020-07-28
  • Safari 14 Released on 2020-09-16
  • Safari on iOS 14 Released on 2020-09-16

Developer signals

Usage (according to Chrome Platform Status)

~2.822% of page loads. More data at chromestatus.