Recently, I found I'm starting to use Promise.allSettled()
instead of Promise.all()
.
I only use Promise.all()
when all promises are 100% sure safe to resolve, but I'm not sure where is the boundary.
I'd like to open up a discussion to see if we can do this safely.
const foo = await Promise.all(promises);
const foo = await Promise.allSettled(promises);
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too