Victor is a full stack software engineer who loves travelling and building things. Most recently created Ewolo, a cross-platform workout logger.

    Node.js callbacks vs promises vs generators vs async-await

    Recently I've had the distinct pleasure of getting a handle on generators and how awesome they are. I ended up making an infographic as an educational exercise. Here it is: Programming with Node.js - a brief timeline of callbacks vs promises vs generators vs async-await. Feedback welcome.

    HackerNews submission / discussion

    Back to the article list.

    SmallData newsletter

    Subscribe to get articles as they are published direct to your inbox!