An open API service indexing awesome lists of open source software.

https://github.com/mariusschulz/egghead-javascript-promises

Code for my "JavaScript Promises in Depth" egghead.io course.
https://github.com/mariusschulz/egghead-javascript-promises

javascript javascript-promise javascript-promises promises

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://egghead.io/courses/javascript-promises-in-depth) course on [egghead.io](https://egghead.io/).

1. [Create a Promise Chain in JavaScript with `Promise.prototype.then()`](https://egghead.io/lessons/javascript-create-a-promise-chain-in-javascript-with-promise-prototype-then)
2. [Catch Errors in a JavaScript Promise Chain with `Promise.prototype.catch()`](https://egghead.io/lessons/javascript-catch-errors-in-a-javascript-promise-chain-with-promise-prototype-catch)
3. [Execute Cleanup Logic in a JavaScript Promise Chain with `Promise.prototype.finally()`](https://egghead.io/lessons/javascript-execute-cleanup-logic-in-a-javascript-promise-chain-with-promise-prototype-finally)
4. [Create a Rejected Promise in JavaScript with `Promise.reject()`](https://egghead.io/lessons/javascript-create-a-rejected-promise-in-javascript-with-promise-reject)
5. [Create a Resolved Promise in JavaScript with `Promise.resolve()`](https://egghead.io/lessons/javascript-create-a-resolved-promise-in-javascript-with-promise-resolve)
6. [Create a New Promise in JavaScript with the Promise Constructor](https://egghead.io/lessons/javascript-create-a-new-promise-in-javascript-with-the-promise-constructor)
7. [Convert a Callback-Based JavaScript Function to a Promise-Based One](https://egghead.io/lessons/javascript-convert-a-callback-based-javascript-function-to-a-promise-based-one)
8. [Wait for the Fastest JavaScript Promise to Settle with `Promise.race()`](https://egghead.io/lessons/javascript-wait-for-the-fastest-javascript-promise-to-settle-with-promise-race)
9. [Wait for Multiple JavaScript Promises to Settle with `Promise.all()`](https://egghead.io/lessons/javascript-wait-for-multiple-javascript-promises-to-settle-with-promise-all)
10. [Wait for Multiple JavaScript Promises to Settle with `Promise.allSettled()`](https://egghead.io/lessons/javascript-wait-for-multiple-javascript-promises-to-settle-with-promise-allsettled)
11. [Wait for the Fastest JavaScript Promise to Be Fulfilled with `Promise.any()`](https://egghead.io/lessons/javascript-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](https://egghead.io/lessons/javascript-await-a-javascript-promise-in-an-async-function-with-the-await-operator)