Thanks for this article. Do you have any particular reason for using "q" library instead a native modules like Promise? I question this because I had the same result using Promise.all instead is using "q" library. Other insigth is change Promise.all to Promise.allSettled that allow us to handle errors.
Thanks for this article. Do you have any particular reason for using "q" library instead a native modules like Promise? I question this because I had the same result using Promise.all instead is using "q" library. Other insigth is change Promise.all to Promise.allSettled that allow us to handle errors.
Below the code:
Hi Leandro,
This is part 1.
I did mentioned that in part 2, we'll not be using the
q library
on line 6 of this article.I will Publish Part 2 very soon.
I explained there how to achieve this with Javascript native functions.
Thank you for taking out time to read this article.