trait FutureTimeoutSupport extends AnyRef
- Alphabetic
- By Inheritance
- FutureTimeoutSupport
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
def
after[T](duration: FiniteDuration, using: Scheduler)(value: ⇒ Future[T])(implicit ec: ExecutionContext): Future[T]
Returns a scala.concurrent.Future that will be completed with the success or failure of the provided value after the specified duration.
-
def
afterCompletionStage[T](duration: FiniteDuration, using: Scheduler)(value: ⇒ CompletionStage[T])(implicit ec: ExecutionContext): CompletionStage[T]
Returns a java.util.concurrent.CompletionStage that will be completed with the success or failure of the provided value after the specified duration.