Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.
Unlike Promise.race it cleans up after itself so a non-resolved value doesn't hold onto the result promise.
Promise.race
An iterable of Promises.
A new Promise.
Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.
Unlike
Promise.race
it cleans up after itself so a non-resolved value doesn't hold onto the result promise.