blade-sensei / learning

Roadmap for software engineer, sandbox, algorithms training, it also contains my daily task dashboard
9 stars 2 forks source link

How to get information of a rejected Promise in Promise.all() #27

Closed blade-sensei closed 4 years ago

blade-sensei commented 4 years ago

2 scenarios. If we need only 1 function we be repeated. We can wrap the function in way to do'nt throw we a request fails but to resolve anyway

Or if we don't want to change behaviour or the throw on the function Or if we have many differents functions to run. we shoud use a for loop and insert in each array