Simplifying Callbacks
Basarat Ali Syed · Apress eBooks · 2014
The evented/asynchronous nature of Node.js means that it is possible to end up with deeply nested callbacks. There are various strategies in JavaScript that help reduce the callback nesting. In this chapter, we will explore these patterns. These help maintain readability, but more importantly these strategies will help decrease the likelihood of bugs creeping up on you. I promise. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.