≈ the.bay.news

JavaScript: Run Multiple Promises at Once with Promise.allSettled — One Failure Won't Ruin the Batch

DEV Community
JavaScript: Run Multiple Promises at Once with Promise.allSettled — One Failure Won't Ruin the Batch
Promise.allSettled() waits for every promise to finish and returns each result, so one failing API doesn't throw away the data from the rest.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.