Run future in the background.
Run future in the background. Discard the result of this Future but ensure if there is an exception it gets reported to the ExecutionContext
the first successfully completed future. If all futures fail, then completes the future with AsyncParThrowable of all failures.
a Future of X that always succeeds. If self is successful, X is derived from onSuccess otherwise if self is a failure, X is derived from onFailure.
a Future of X that always succeeds. If self is successful, X is derived from onSuccess otherwise if self is a failure, X is derived from onFailure.
the result of the Future after it completes
java.util.concurrent.TimeoutException
if Future does not complete within max duration
the result of the Future after it completes (Note: this waits indefinitely for the Future to complete)
java.lang.Exception
Future completed with a failure, throws the exception
the Try result of the Future after it completes
java.util.concurrent.TimeoutException
if Future does not complete within max duration
the Try result of the Future after it completes (Note: this waits indefinitely for the Future to complete)
a future of A that is guaranteed to happen before lhs
after spinning the current thread for delay_ns, returns the error between the requested delay and the actual delay. Use this function only when a precise delay is more important than overall performance.
a future that completes with fallback if the specified timeout is exceeded, otherwise the completed result of the future
a future that completes once the supplied Future and the supplied side effect complete. The side effect runs after the supplied future completes even if it fails.
a Future of a Try of the result that always completes successfully even if the Future eventually throws an exception