/egghead-javascript-promises

Code for my "JavaScript Promises in Depth" egghead.io course.

Primary LanguageJavaScript

JavaScript Promises in Depth

course badge for JavaScript Promises in Depth

This repo contains the code for all lessons of my JavaScript Promises in Depth course on egghead.io.

  1. Create a Promise Chain in JavaScript with Promise.prototype.then()
  2. Catch Errors in a JavaScript Promise Chain with Promise.prototype.catch()
  3. Execute Cleanup Logic in a JavaScript Promise Chain with Promise.prototype.finally()
  4. Create a Rejected Promise in JavaScript with Promise.reject()
  5. Create a Resolved Promise in JavaScript with Promise.resolve()
  6. Create a New Promise in JavaScript with the Promise Constructor
  7. Convert a Callback-Based JavaScript Function to a Promise-Based One
  8. Wait for the Fastest JavaScript Promise to Settle with Promise.race()
  9. Wait for Multiple JavaScript Promises to Settle with Promise.all()
  10. Wait for Multiple JavaScript Promises to Settle with Promise.allSettled()
  11. Wait for the Fastest JavaScript Promise to Be Fulfilled with Promise.any()
  12. Await a JavaScript Promise in an async Function with the await Operator