async-programming-promises
From Nate Taylor's Pluralsight course
I have also added comments on the sample code for additional information
Contents
- consuming.mjs
- Consuming promises
- Error handling
- Chaining promises
- creating.mjs
- Creating promises
- Controlling when to resolve or reject a promise
- Handling multiple promises
- iterating.mjs
- Using async await
- Using async await with promises
Usage
- Install dependencies
npm i
- Start the server
npm run dev
- Navigate to the examples page
http://localhost:3000/home