The difference between Promise.all and Promise.allSettled such the Promise.all when receiving a reject will stop the execution and the Promise.allSettled will execute all promises and return the status and value received independent if rejected or fulfilled.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How does it compare to Promise.all() ?
The difference between
Promise.allandPromise.allSettledsuch thePromise.allwhen receiving a reject will stop the execution and thePromise.allSettledwill execute all promises and return the status and value received independent if rejected or fulfilled.