Skip to content

Commit ad11ea4

Browse files
committed
Work on iluwatar#403, javadocs updated
1 parent 5796e19 commit ad11ea4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

promise/src/main/java/com/iluwatar/promise/Promise.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
import java.util.function.Function;
3030

3131
/**
32-
* Implements the promise pattern.
32+
* A Promise represents a proxy for a value not necessarily known when the promise is created. It
33+
* allows you to associate dependent promises to an asynchronous action's eventual success value or
34+
* failure reason. This lets asynchronous methods return values like synchronous methods: instead
35+
* of the final value, the asynchronous method returns a promise of having a value at some point
36+
* in the future.
3337
*
3438
* @param <T> type of result.
3539
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy