A demo of various approaches to running async tasks in series, from plain callbacks to async-await.
- Plain callbacks, using good ol' callback hell :meh:
- Callbacks, flattened / made more manageable using Async.js
- Promise chain, using native ES2015 promise wrappers around the native callback-based API
- Promises as synchronous-looking serial code using ES2017’s
async
/await