by jannes · 6y ago · 0 comments
> Promise.allSettled can never throw
Of course not. And Promise.all neither. Promises don't throw, they reject.
async/await is syntactic sugar on top of that, which can make it look similar to throwing, but you will never actually "throw".