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

September 16, 2020

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