jed1337 / async-programming-promises

The code samples for the Pluralsight Course JavaScript Promises and Async Programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

async-programming-promises

From Nate Taylor's Pluralsight course
I have also added comments on the sample code for additional information

Contents

  1. consuming.mjs
    • Consuming promises
    • Error handling
    • Chaining promises
  2. creating.mjs
    • Creating promises
    • Controlling when to resolve or reject a promise
    • Handling multiple promises
  3. iterating.mjs
    • Using async await
    • Using async await with promises

Usage

  1. Install dependencies
    • npm i
  2. Start the server
    • npm run dev
  3. Navigate to the examples page
    • http://localhost:3000/home

About

The code samples for the Pluralsight Course JavaScript Promises and Async Programming


Languages

Language:JavaScript 65.5%Language:HTML 30.7%Language:CSS 3.7%