public interface FutureTimeoutSupport
Modifier and Type | Method and Description |
---|---|
<T> scala.concurrent.Future<T> |
after(scala.concurrent.duration.FiniteDuration duration,
Scheduler using,
scala.Function0<scala.concurrent.Future<T>> value,
scala.concurrent.ExecutionContext ec)
Returns a
Future that will be completed with the success or failure of the provided value
after the specified duration. |
<T> scala.concurrent.Future<T> after(scala.concurrent.duration.FiniteDuration duration, Scheduler using, scala.Function0<scala.concurrent.Future<T>> value, scala.concurrent.ExecutionContext ec)
Future
that will be completed with the success or failure of the provided value
after the specified duration.