Awaitable
An Awaitable allows to await an asynchronous result. Once await is called, the execution waits 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 dev.restate.sdk.core.TerminalException.
Parameters
T
type o1f the awaitable result