package
concurrent
Type Members
-
type
CBF[T] = CanBuildFrom[Seq[Future[Try[T]]], Try[T], Seq[Try[T]]]
-
sealed
trait
ManagedFuture[T] extends Future[T]
-
trait
Poller extends AutoCloseable
-
trait
Scheduler extends AutoCloseable
Value Members
-
-
-
-
-
-
def
awaitAndGatherFailures[T](seq: Seq[Future[T]], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Seq[Throwable]
-
def
awaitAndGatherIndexedFailures[L, T](seq: Seq[Future[T]], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Seq[(Int, Throwable)]
-
def
awaitAndGatherLabeledFailures[L, T](pairs: Iterable[(L, Future[T])], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Seq[(L, Throwable)]
-
def
awaitSeq[T](seq: Seq[Future[T]], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Unit
-
def
liftToTry[T](fut: Future[T])(implicit ec: ExecutionContext): Future[Try[T]]
Inherited from AnyRef
Inherited from Any