implicit final class SMach_Concurrent_PimpMyTraversableFuture[A, M[+AA] <: Traversable[AA]] extends AnyVal
- Alphabetic
- By Inheritance
- SMach_Concurrent_PimpMyTraversableFuture
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SMach_Concurrent_PimpMyTraversableFuture(self: M[Future[A]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
firstSuccess(implicit ec: ExecutionContext): Future[A]
- returns
the first successfully completed future. If all futures fail, then completes the future with AsyncParThrowable of all failures.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge(implicit ec: ExecutionContext, cbf: CanBuildFrom[Nothing, A, M[A]]): Future[M[A]]
- returns
a Future of a collection of items that completes once all futures are successful OR completes immediately after any failure. This is in contrast to Future.sequence which will only complete once *all* Futures have completed, even if one of the futures fails immediately. The first failure encountered immediately throws AsyncParThrowable which has a method to return a Future of all failures.
- val self: M[Future[A]]
-
def
toString(): String
- Definition Classes
- Any