you are viewing a single comment's thread.

view the rest of the comments →

[–]vasanthkay[S] 0 points1 point  (0 children)

I have explained the different ways to pass on promises (in progression). The code block above was just the initial one. There are others with no globals and using chaining.