A Study on Solving Callbacks with JavaScript Generators

A Study on Solving Callbacks with JavaScript Generators

Callback hell is a real problem in node.js. Since generators have landed in V8, I take a look at how we can write code with them, leveraging promises to handle the details. This technique vastly improves code with asynchronous workflows.

Live Preview