A helper that polls for the completion of Java Futures.
A helper that polls for the completion of Java Futures. The results of the Java Futures
are returned through Scala Futures.
Returns a Promising[A], which can be applied on a function to fulfil a promise and return a future of that promise.
Note: if the function throws an exception, it will not be caught or fail the future.
promising[A](f: Promise[A] => Any): Future[A]
Creates a promise, uses the provided function to fulfil the promise and then returns the future of the promise.
The type returned
Future returned from the value