Package io.activej.promise
Class CompleteNullPromise<T>
java.lang.Object
io.activej.promise.CompletePromise<T>
io.activej.promise.CompleteNullPromise<T>
- All Implemented Interfaces:
AsyncComputation<T>,Promise<T>
Represents a
CompletePromise with result that equals null.
Optimized for multiple reuse since its result never changes.-
Method Summary
Methods inherited from class io.activej.promise.CompletePromise
async, both, combine, either, getException, getTry, isComplete, isException, isResult, map, map, map, mapException, mapException, next, subscribe, then, then, then, then, thenCallback, thenCallback, thenCallback, thenCallback, toCompletableFuture, toTry, toVoid, whenComplete, whenComplete, whenComplete, whenException, whenException, whenException, whenException, whenResult, whenResult
-
Method Details
-
getResult
-