Should I use Promise.all? When should I use it
Hi I am not sure if I should use a promise all in a case like this:
Does it make sense to use it here?
3 Replies
hate to be that guy but theo does have quite a good video on this: https://www.youtube.com/watch?v=f2Z1v3cqgDI
Theo - t3․gg
YouTube
The Dangers Of Promise.all()
Please just use Promise.allSettled()
Keywords JAVASCRIPT JS TS TYPESCRIPT ASYNC SYNC ASYNCHRONOUS SYNCHRONOUS PROMISES
ALL MY VIDEOS ARE POSTED EARLY ON PATREON https://www.patreon.com/t3dotgg
Everything else (Twitch, Twitter, Discord & my blog): https://t3.gg/links
and the comments are just as helpful, good luck friend 🫡
ty, I remember this one and I also remember there being a better function for promise all
allSettled that was it