Class Async.Uncompleted<T>

java.lang.Object
w.util.concurrent.Async.Uncompleted<T>
All Implemented Interfaces:
Consumer<T>, Supplier<T>, Async<T>
Enclosing interface:
Async<T>

public static final class Async.Uncompleted<T> extends Object implements Async<T>
  • Constructor Details

    • Uncompleted

      public Uncompleted()
  • Method Details

    • complete

      public void complete(T value)
      Specified by:
      complete in interface Async<T>
    • get

      public T get()
      Specified by:
      get in interface Supplier<T>
    • get

      public T get(long millis)
      Specified by:
      get in interface Async<T>
    • addListener

      public void addListener(@NotNull @NotNull Consumer<T> listener)
      Specified by:
      addListener in interface Async<T>
    • get

      public T get(long millis, int nanos)
      Specified by:
      get in interface Async<T>