Imagine we have a client library that talks to a server asynchronously
Now imagine you want to like all the posts of a user one by one (serialized) and logout, using plain old-style js and node-style callbacks.
You can implement this in many ways. Let me discuss some
If you are interested into generators and async stuff without promises I suggest you go on reading this article. I personally prefer promises.