-
Async await vs promise example
lesson1a-with-promise.js
lesson1b-with-await.js -
Send data back to a parent function via promise chain
lesson2-send-data-to-parent-function-via-promise.js -
Converting to function expression and arrow function
lesson3a-convert-to-func-expression-and-arrow-func.js -
Called by parent iife (immediate invoked function expression)
lesson3b-called-by-parent-iife-pattern.js -
Convert parent to method of ES6 class
lesson3c-convert-to-method-of-es6-class.js -
Throwing and catching errors
lesson4a-catching-errors.js
lesson4b-catching-errors-when-parent-is-async.js -
Await multiple calls. Examples for sequential and concurrent
lesson5a-await-multiple-calls-sequentially.js
lesson5b-await-multiple-calls-concurrently.js -
The Promise.all() method
lesson6a-promise-all.js
lesson6b-promise-all-with-destructure.js -
Using with Bluebird
lesson7-use-with-Bluebird.js -
Asynchronous iteration
lesson8a-for-of-loop.js
lesson8b-for-await-of-loop.js
Notes taken during video course from Marius Schultz on egghead.