Package io.activej.promise
Class AbstractPromise.PromiseBoth<T>
java.lang.Object
io.activej.promise.AbstractPromise<R>
io.activej.promise.NextPromise<T,Void>
io.activej.promise.AbstractPromise.PromiseBoth<T>
- All Implemented Interfaces:
AsyncComputation<Void>,Callback<Void>,Promise<Void>,SettableCallback<Void>
- Enclosing class:
- AbstractPromise<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.activej.promise.AbstractPromise
AbstractPromise.EitherPromise<T>, AbstractPromise.PromiseBoth<T>, AbstractPromise.PromiseCombine<T,V, U> -
Field Summary
Fields inherited from class io.activej.promise.AbstractPromise
exception, next, result -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.activej.promise.NextPromise
set, set, setException, trySet, trySet, trySetExceptionMethods inherited from class io.activej.promise.AbstractPromise
async, both, combine, complete, complete, completeExceptionally, either, getException, getResult, getTry, isComplete, isException, isResult, map, map, map, mapException, mapException, next, recycleToVoid, reset, resetCallbacks, subscribe, then, then, then, then, thenCallback, thenCallback, thenCallback, thenCallback, toCompletableFuture, toString, toTry, toVoid, tryComplete, tryComplete, tryCompleteExceptionally, whenComplete, whenComplete, whenComplete, whenException, whenException, whenException, whenException, whenResult, whenResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.activej.promise.SettableCallback
accept, isComplete
-
Constructor Details
-
PromiseBoth
public PromiseBoth()
-
-
Method Details
-
acceptNext
- Specified by:
acceptNextin classNextPromise<T,Void>
-
describe
- Overrides:
describein classAbstractPromise<Void>
-