Interface IResultFuture<R>

Type Parameters:
R - is the type of the result of a IResultFuture.
All Superinterfaces:
FinishRequestable, IFuture
All Known Implementing Classes:
ResultFuture

public interface IResultFuture<R> extends IFuture
A IResultFuture is a IFuture that will deliver a result when it is finished.
Author:
Silvan Wyss
  • Method Details

    • getResult

      R getResult()
      Returns:
      the result of the current IResultFuture.
    • waitUntilIsFinishedAndGetResult

      R waitUntilIsFinishedAndGetResult()
      Waits until the current IResultFuture is finished and returns its result.
      Returns:
      the result of the current IResultFuture after waiting until it is finished.