1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-01 21:32:35 +02:00

Typographical fix (paragraph 04) (#2262)

This commit is contained in:
Darío Hereñú
2022-10-12 09:40:49 -03:00
committed by GitHub
parent eb21f2067b
commit 8120cfe262

View File

@@ -1,7 +1,7 @@
# Promises
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.
Creating a Promise: