🔥 use Promise.allSettled() to wait until all promises have either been fulfilled or rejected.

Handy for when a promise rejects, but you still want the data of the successful ones.

1.7K263237K
6188217128
320