Skip to content

yossarian21/async-await

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comparison of Promises and Async/Await

To run:

npm install
npm test

Why Async/Await?

  1. More sequential code.
  2. Opportunity for less deeply nested code structures.
  3. In theory, the Javascript engine, if multi-threaded, knows when your thread can be suspended (at "await" statements) and awakened when its result is ready.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published