Class FutureResult<T>

java.lang.Object
org.core.threadsafe.FutureResult<T>

public class FutureResult<T> extends Object
  • Constructor Details

    • FutureResult

      public FutureResult()
  • Method Details

    • onComplete

      public void onComplete(Consumer<? super T> consumer)
    • getValue

      public Optional<T> getValue()
    • run

      public void run(T value)