I mean... that's literally what these functions are for? Yes, `Promise.all()` fails on any one failure, that's the whole point. This feels a lot like an LLM just rehashed MDN.
exactly one submission every two weeks, either a very disciplined writer or some sort of automation.
pkilgore•1h ago
Helpful for beginners but not entirely clear what this is rethinking! These are widely known promise fundamentals since all settled became widely available in 2019ish and omits for ... await loops despite that being THE async loop primative (and what I thought this would be about reading the title).
Kayou•1h ago
If you're going to use a lib like pLimit to limit the concurrency of a map, just use pMap which accepts an argument to limit the concurrency and makes it more readable and straightforward
Etheryte•1h ago
zarzavat•1h ago
geysersam•1h ago
exactly one submission every two weeks, either a very disciplined writer or some sort of automation.