Photo - Kobi Li
Photo

Hoverbear

Javascript

Async Auto

I've been exploring the handy async over the last few days in the lab. One of my projects is a MongoDB API Adapter in Node.js and I was pleased by a novel way of handling control flow.

async.auto() is a function offered by the libary which allows you to declare a set of tasks and their dependencies, then the library determines the best way to compose the initialization.

Continue reading...
afe76f0346c2428ca7d77872a7474569c7ac7c43