Class CompleteNullPromise<T>

java.lang.Object
io.activej.promise.CompletePromise<T>
io.activej.promise.CompleteNullPromise<T>
All Implemented Interfaces:
AsyncComputation<T>, Promise<T>

public final class CompleteNullPromise<T> extends CompletePromise<T>
Represents a CompletePromise with result that equals null. Optimized for multiple reuse since its result never changes.
  • Method Details

    • getResult

      @Nullable public T getResult()