-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4108 from shaedrich/promise
Add topic "Promise"
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
topic: promise | ||
display_name: Promise | ||
short_description: A promise is an object returned by an asynchronous function, which represents the current state of the operation. | ||
related: future, async-await, callback, deferred, coroutines, fiber, concurrency | ||
wikipedia_url: https://en.wikipedia.org/wiki/Futures_and_promises | ||
created_by: Barbara Liskov, Liuba Shrira, Mark S. Miller, Dean Tribble, Rob Jellinghaus, Daniel P. Friedman | ||
released: 1988 | ||
--- | ||
A **promise** is an object returned by an asynchronous function, which represents the current state of the operation. At the time the promise is returned to the caller, the operation often isn't finished, but the promise object provides methods to handle the eventual success or failure of the operation. |