4 ways to handle multiple promises in #JavaScript How I choose: 1
4 ways to handle multiple promises in #JavaScript
How I choose:
1. Promise.all - I want all, but reject if any reject.
2. Promise.allSettled - I want the status of all, even if some reject.
3. Promise.race - I want the first.
4. Promise.any - I want the first that resolves.

More details are available here on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#static_methods