final class FastFuture[A] extends AnyVal
Provides alternative implementations of the basic transformation operations defined on scala.concurrent.Future, which try to avoid scheduling to an scala.concurrent.ExecutionContext if possible, i.e. if the given future value is already present.
- Source
- FastFuture.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FastFuture
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to any2stringadd[FastFuture[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (FastFuture[A], B)
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to ArrowAssoc[FastFuture[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (FastFuture[A]) ⇒ Boolean, msg: ⇒ Any): FastFuture[A]
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to Ensuring[FastFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (FastFuture[A]) ⇒ Boolean): FastFuture[A]
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to Ensuring[FastFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): FastFuture[A]
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to Ensuring[FastFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): FastFuture[A]
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to Ensuring[FastFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def filter(pred: (A) ⇒ Boolean)(implicit executor: ExecutionContext): Future[A]
- def flatMap[B](f: (A) ⇒ Future[B])(implicit ec: ExecutionContext): Future[B]
- def foreach(f: (A) ⇒ Unit)(implicit ec: ExecutionContext): Unit
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to StringFormat[FastFuture[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- val future: Future[A]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) ⇒ B)(implicit ec: ExecutionContext): Future[B]
- def recover[B >: A](pf: PartialFunction[Throwable, B])(implicit ec: ExecutionContext): Future[B]
- def recoverWith[B >: A](pf: PartialFunction[Throwable, Future[B]])(implicit ec: ExecutionContext): Future[B]
-
def
toString(): String
- Definition Classes
- Any
- def transformWith[B](s: (A) ⇒ Future[B], f: (Throwable) ⇒ Future[B])(implicit executor: ExecutionContext): Future[B]
- def transformWith[B](f: (Try[A]) ⇒ Future[B])(implicit executor: ExecutionContext): Future[B]
-
def
→[B](y: B): (FastFuture[A], B)
- Implicit
- This member is added by an implicit conversion from FastFuture[A] to ArrowAssoc[FastFuture[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc