In this video, we will do a small exercise and see how we can handle multiple async calls using Promise.all
and then we will slowly go to Promise.allSettled
to understand how it does the same thing. The main thing we want is whatever promises error out we should get the errors for them but whatever promises succeed we want the results as well which does not happen in case of Promise.all
though we will make a small modification to it to see how it can do so just like Promise.allSettled
.
๐ฑโ๐ป ๐ฑโ๐ป Course Links:
Complete Code - https://github.com/The-Nerdy-Dev
Visual Studio Code - https://code.visualstudio.com
Git - https://git-scm.com/downloads
Support my channel:
๐ Join the Discord community ๐จโ๐ฉโ๐งโ๐ฆ: https://discord.gg/fgbtN2a
๐ One time donations via PayPal
Thank you! ๐
Follow me on:
๐ Twitter: https://twitter.com/The_Nerdy_Dev
๐ Instagram: https://instagram.com/thenerdydev
๐ My Blog: https://the-nerdy-dev.com
Top comments (0)