Skip to content

Commit 9f70582

Browse files
author
Anh Dung Bui
committed
add javadoc
1 parent 05e9cd3 commit 9f70582

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/org/joo/promise4j/PipeAlwaysCallback.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Represents a pipe for fulfilled promise. Pipe is similar to filter, except
55
* that they returns a {@link org.joo.promise4j.Promise} instead of the result.
6-
*
6+
*
77
* @author griever
88
*
99
* @param <D> the response type when the promise is fulfilled
@@ -14,8 +14,10 @@ public interface PipeAlwaysCallback<D, D_OUT, F extends Throwable, F_OUT extends
1414

1515
/**
1616
* A callback to be called when the promise is fulfilled.
17-
*
18-
* @param result the result of the promise
17+
*
18+
* @param status the status of the promise
19+
* @param result the result of the promise if any
20+
* @param cause the cause of the failure if any
1921
* @return the new promise
2022
*/
2123
public Promise<D_OUT, F_OUT> onAlways(final DeferredStatus status, final D result, final F cause);

0 commit comments

Comments
 (0)