Sign in
Log inSign up

What are the differences between "waterfall", and "series", methods in the NodeJS async library?

Chris Atherton's photo
Chris Atherton
·Aug 2, 2016

I am just getting started with the async npm package to re-write, and then extend some code that is rotting in callback hell; just came here, to know if anyone can quickly give me a difference between the async.waterfall, and async.series methods; both of them look almost the same to me? Also, can I have a async call inside another async call? Thanks in advance!

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct