We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5796e19 commit ad11ea4Copy full SHA for ad11ea4
promise/src/main/java/com/iluwatar/promise/Promise.java
@@ -29,7 +29,11 @@
29
import java.util.function.Function;
30
31
/**
32
- * Implements the promise pattern.
+ * 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.
37
*
38
* @param <T> type of result.
39
*/
0 commit comments