3 ms·
You mean the other promises get canceled? I didn't even know you could cancel promises in JavaScript. edit: This is not accurate, Promise.all() will return whe
by remram 4y ago
You mean the other promises get canceled? I didn't even know you could cancel promises in JavaScript.
edit: This is not accurate, Promise.all() will return when one fail, but in no way do "the other promises also fail". They are unaffected and you can wait for them again.
- lelandfe 4y agoCan you tell I'm still learning how asynchronous JS works :) You're completely right – the only thing changed is what `all` vs `allSettled` returns. Thanks for the check!