Web 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.

Learning resources on MDN

Browser support

Specifications