Class PromiseReadySupplier<T>

java.lang.Object
tripleo.elijah.util.PromiseReadySupplier<T>
All Implemented Interfaces:
Supplier<T>, ReadySupplier<T>

public class PromiseReadySupplier<T> extends Object implements ReadySupplier<T>
  • Constructor Details

    • PromiseReadySupplier

      public PromiseReadySupplier(org.jdeferred2.Promise<T,Void,Void> aP)
  • Method Details

    • get

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

      public boolean ready()
      Specified by:
      ready in interface ReadySupplier<T>
    • then

      public void then(org.jdeferred2.DoneCallback<T> aO)