Returns after all actions have completed.
Returns after all actions have completed. The timeout given is passed to each awaitable in turn, meaning max await time will be awaitables.size * timeout.
If any of the Awaitable
s are not ready within timeout
, a
com.twitter.util.TimeoutException will be thrown.
Returns after all actions have completed.
Returns after all actions have completed. The timeout given is passed to each awaitable in turn, meaning max await time will be awaitables.size * timeout.
Returns the object when the action has completed.
Returns the object when the action has completed.
If the Awaitable
is not ready within timeout
, a
com.twitter.util.TimeoutException will be thrown.
Returns the object when the action has completed.
Returns the object when the action has completed.
Returns the result of the action when it has completed.
Returns the result of the action when it has completed.
If you want the results as a com.twitter.util.Try,
use Await.result(future.liftToTry)
.
If the Awaitable
is not ready within timeout
, a
com.twitter.util.TimeoutException will be thrown.
Returns the result of the action when it has completed.
Returns the result of the action when it has completed.
If you want the results as a com.twitter.util.Try,
use Await.result(future.liftToTry)
.
Await the result of some action.