The following summarises the learnings of migrating from the async
promises module to ES6 promises
, with a simple sample.
Async
is a library containing a bunch of async utility functions like
async.parallel
: To execute a bunch of async tasks in parallel.async.waterfall
: To execute a bunch of async tasks sequentially.
####The example had a combo of both: