Like foreach, except this method supports tail-call optimization.
Suspends this Awaitable until the asynchronous operation being completed, and then returns the result of the asynchronous operation.
Suspends this Awaitable until the asynchronous operation being completed, and then returns the result of the asynchronous operation.
This method must be in a Future.apply block or Awaitable.apply block.
,The code after await and the code before await may be evaluated in different threads.
Returns a new Awaitable.Stateless composed of this Awaitable and the converter
.
Returns a new Awaitable.Stateless composed of this Awaitable and the converter
.
The new Awaitable.Stateless will pass the original result to convert
when the original asynchronous operation being completed,
or pass the exception to catcher
when the original asynchronous operation being failed.
Asks this Awaitable to pass result to handler
when the asynchronous operation being completed,
or to pass the exception to catcher
when the asynchronous operation being failed,
and starts the asynchronous operation if this Awaitable is an Awaitable.Stateless.
Asks this Awaitable to pass result to handler
when the asynchronous operation being completed,
or to pass the exception to catcher
when the asynchronous operation being failed,
and starts the asynchronous operation if this Awaitable is an Awaitable.Stateless.
Returns a new Awaitable.Stateless composed of this Awaitable and the converter
.
Returns a new Awaitable.Stateless composed of this Awaitable and the converter
.
The new Awaitable.Stateless will pass the original result to convert
when the original asynchronous operation being completed,
or pass the exception to catcher
when the original asynchronous operation being failed.
Returns a new Awaitable.Stateless composed of this Awaitable and the condition
.
Returns a new Awaitable.Stateless composed of this Awaitable and the condition
.
The new Awaitable.Stateless will pass the original result to condition
when the original asynchronous operation being completed,
or pass the exception to catcher
when the original asynchronous operation being failed.
Passes to catcher
if the condition
returns false
.