Promise.all vs Promise.allSettled, which is better?
Definitions and Differences
Promise.all(): This Promise method receives an array of promises as input and when all promises are resolved it fulfils the returning promise, however, if there is an error with any of the promise inputs it rejects the ret...
alayesanmi.hashnode.dev3 min read