Result - the type of the result for this promiseV - the type of the value for this completablepublic interface Completable<Result extends Failable,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
complete(Result result,
V value)
Completes this context successfully with the result.
|
boolean |
completeExceptionally(Result result,
java.lang.Throwable exception)
Completes this context with an exception.
|
ResultView<Result,V> |
resultView()
Returns a view of the result of of this completable.
|
boolean complete(Result result, V value)
result - of the computationvalue - of the computationboolean completeExceptionally(Result result, java.lang.Throwable exception)
result - of the computationexception - of the computationResultView<Result,V> resultView()
Copyright © 2014 Tim Brooks. All Rights Reserved.