How to reduce callbacks in node.js with generators.
When you write javascript on the server side and you have a lot of code you can get a loop of nested callbacks very quickly.
asyncFunction1(value, function(value1){
asyncFunction2(value1, function(value2){…