Interface DurableFuture<T>

Type Parameters:
T - type of the future result
All Known Implementing Classes:
Awakeable, CallDurableFuture, Select

public sealed interface DurableFuture<T>
A DurableFuture allows to await an asynchronous result. Once await() is called, the execution stops until the asynchronous result is available.

The result can be either a success or a failure. In case of a failure, await() will throw a TerminalException.

NOTE: This interface MUST NOT be accessed concurrently since it can lead to different orderings of user actions, corrupting the execution of the invocation.