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.- Version:
- 2019-04-14
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungWaits until the currentIResultFutureis finished and returns its result.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrol.process.FinishRequestable
isFinished, isRunningVon Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrol.future.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.
-