Run the block of code body
asynchronously.
Run the block of code body
asynchronously. body
may contain calls to await
when the results of
a Future
are needed; this is translated into non-blocking code.
Run the block of code body
asynchronously.
Run the block of code body
asynchronously. body
may contain calls to await
when the results of
a Future
are needed; this is translated into non-blocking code.
Non-blocking await on the result of awaitable
.
Non-blocking await on the result of awaitable
. This may only be used directly within an enclosing async
block.
Internally, this will register the remainder of the code in enclosing async
block as a callback
in the onComplete
handler of awaitable
, and will *not* block a thread.