Returns a new Future
that takes atLeast
and atMost
time to execute.
Returns a new Future
that takes atLeast
and atMost
time to execute.
the minimal duration that the returned future will take to complete.
the maximum duration that the returned future will take to complete (otherwise it gets completed with a TimeoutException
)
the implicit scheduler that handles the time scheduling
a new Future
whose execution time is within the specified bounds
Utility that lifts a Future[T]
into a Future[Try[T]]
, just because
it is useful sometimes.
Combinator that returns a new Future that either completes with the original Future's result or with a TimeoutException in case the maximum wait time was exceeded.
Combinator that returns a new Future that either completes with the original Future's result or with a TimeoutException in case the maximum wait time was exceeded.
specifies the maximum wait time until the future is terminated with a TimeoutException
is the implicit Scheduler, needed for completing our internal promise
Provides utility methods added on Scala's
concurrent.Future