Skip to content

CooRay/Promise-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promises

This is a simple page running on express demonstrating an examle of promises in javascript. Five examples include:

  • Not using promises
  • Using individual promises
  • Using promise.race()
  • Using promise.all()
  • Using async/await

All examples are verbose with the intention of being easy to understand.

Install

Clone the repository then run npm install.

Serve the page with node server.js

View a live example here.

About

A demo of javascript Promise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published