Typographical fix (paragraph 04) (#2262)

pull/2259/head^2
Darío Hereñú 2 years ago committed by GitHub
parent eb21f2067b
commit 8120cfe262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/roadmaps/107-nodejs/content/104-nodejs-async-programming/102-promises.md

@ -1,7 +1,7 @@
# Promises # Promises
A promise is commonly defined as a proxy for a value that will eventually become available A promise is commonly defined as a proxy for a value that will eventually become available
Asynchronous functions use promise behind the scens, so understanding how promises work is fundamental to understanding how "async" and "await" works. Asynchronous functions use promise behind the scenes, so understanding how promises work is fundamental to understanding how "async" and "await" works.
Once a promise has been called, it will start in a pending state. This means that the calling function continues executing, while the promise is pending until it resolves, giving the calling function whatever data was being requested. Once a promise has been called, it will start in a pending state. This means that the calling function continues executing, while the promise is pending until it resolves, giving the calling function whatever data was being requested.
Creating a Promise: Creating a Promise:

Loading…
Cancel
Save