Async

Understanding Node.js Async Flows: Parallel, Serial, Waterfall and Queues

Understanding Node.js Async Flows: Parallel, Serial, Waterfall and Queues

Promises in Javascript has been around since a long time now. It helped solve the problem of callback hell. But as soon as the requirements get complicated with control flows, promises start getting unmanageable and harder to work with.

This is where async flows come to the rescue. In this blog, lets talk about the various async flows used frequently over raw promises and callbacks.