Await the "completed" state of this Awaitable.
Await the "completed" state of this Awaitable.
This method should not be called directly; use Await.ready instead.
maximum wait time, which may be negative (no waiting is done), Duration.Inf for unbounded waiting, or a finite positive duration
this Awaitable
if atMost is Duration.Undefined
if the current thread is interrupted while waiting
TimeoutExceptionif after waiting for the specified time this Awaitable is still not ready
Await and return the result (of type T) of this Awaitable.
Await and return the result (of type T) of this Awaitable.
This method should not be called directly; use Await.result instead.
maximum wait time, which may be negative (no waiting is done), Duration.Inf for unbounded waiting, or a finite positive duration
the result value if the Awaitable is completed within the specific maximum wait time
if atMost is Duration.Undefined
if the current thread is interrupted while waiting
TimeoutExceptionif after waiting for the specified time this Awaitable is still not ready
Returns string formatted according to given format string.
Returns string formatted according to given format string.
Format strings are as for String.format
(@see java.lang.String.format).
An object that may eventually be completed with a result value of type
Twhich may be awaited using blocking methods.The Await object provides methods that allow accessing the result of an
Awaitableby blocking the current thread until theAwaitablehas been completed or a timeout has occurred.