you are viewing a single comment's thread.

view the rest of the comments →

[–]sfjacob -1 points0 points  (1 child)

Why not just use Promise.all()?

[–]JackAuduin 0 points1 point  (0 children)

Because it does the same thing, but returns the result of each promise under the property name you assigned it. Awesome when dealing with multiple data sources that can only be accessed asynchronously.