1
JavaScriptIntermediate#async
all resolves with every value but rejects on the first failure. allSettled always resolves with a status per promise. race settles with the first promise to settle either way. any resolves with the first fulfilment and rejects only if all fail.
await Promise.all([a, b]); // fails fast
await Promise.allSettled([a, b]); // [{status:'fulfilled'},{status:'rejected'}]
await Promise.race([a, timeout]); // whichever finishes first