This repository is a source code / examples for an article I wrote about Async and Await.
promises.jscontains example of async flow with promises. Run an example with
npm run promisescommand. If you are not familiar with ES6 promises refe[MDN_Promises].
asyncawait.jscontains example of async flow with
await. Run example with
npm run asyncawaitcommand.
Some other useful articles on topic: