mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-02 05:42:41 +02:00
Typographical fix (paragraph 04) (#2262)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user