Schnittstelle IResultFuture<R>
- Typparameter:
R- is the type of the result of aIResultFuture.
- Alle Superschnittstellen:
FinishRequestable, IFuture
- Alle bekannten Implementierungsklassen:
ResultFuture
A
IResultFuture is a IFuture that will deliver a result when
it is finished.- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungWaits until the currentIResultFutureis finished and returns its result.Von Schnittstelle geerbte Methoden FinishRequestable
isFinished, isRunningVon Schnittstelle geerbte Methoden IFuture
caughtError, getError, isFinishedSuccessfully, isFinishedWithError, waitUntilIsFinished, waitUntilIsFinished, waitUntilIsFinishedSuccessfully, waitUntilIsFinishedSuccessfully
-
Methodendetails
-
getResult
R getResult()- Gibt zurück:
- the result of the current
IResultFuture.
-
waitUntilIsFinishedAndGetResult
R waitUntilIsFinishedAndGetResult()Waits until the currentIResultFutureis finished and returns its result.- Gibt zurück:
- the result of the current
IResultFutureafter waiting until it is finished.
-