🏠 New in High Baseline Support: Promise.any()

March 16, 2023

caniuse · mdn · spec

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.

Source features