Hacker News new | ask | show | jobs
by zaccusl 1575 days ago
I don't understand why this is complex? We know that Promise.all completes on the first error. That's literally the most basic knowledge of Promise.all (it either completes when all promises resolve, or rejects on the first error).

You only need to understand basic JS to know why this doesn't work. You don't need to know anything about the microtask queue or event loop.

Or am I missing something?