This method constructs and returns a Future that will eventually hold the result of the execution of the supplied body The execution is performed by the specified Dispatcher.
Signals that the current thread of execution will potentially engage an action that will take a non-trivial amount of time, perhaps by using blocking.
Returns a Future that will hold the optional result of the first Future with a result that matches the predicate
Returns a Future to the result of the first future in the list that is completed
Captures a block that will be transformed into 'Continuation Passing Style' using Scala's Delimited Continuations plugin.
A non-blocking fold over the specified futures, with the start value of the given zero.
Initiates a fold over the supplied futures where the fold-zero is the result value of the Future that's completed first Example:
val result = Await.result(Futures.reduce(futures)(_ + _), 5 seconds)
Simple version of Futures.
Transforms a Traversable[A] into a Future[Traversable[B]] using the provided Function A ⇒ Future[B].