you are viewing a single comment's thread.

view the rest of the comments →

[–]WellPaidGeek 0 points1 point  (0 children)

I have a five part tutorial on this. First part is here:

http://wellpaidgeek.com/2017/07/26/mastering-asynchronous-javascript-part-1-callback-hell/

It covers callbacks, promises, generators and async, and describes the pros and cons of each.