implicit final class Ops[-EC, +A] extends AnyVal
Common methods like map
and flatMap
are not provided directly; instead,
import the appropriate Scalaz syntax for these; scalaz.syntax.bind._
will give you map
, flatMap
, and most other common choices. Only
exotic Future-specific combinators are provided here.
- Alphabetic
- By Inheritance
- Ops
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def andThen[U](pf: PartialFunction[Try[A], U])(implicit ec: ExecutionContext[EC]): Future[EC, A]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def collect[B](pf: PartialFunction[A, B])(implicit ec: ExecutionContext[EC]): Future[EC, B]
- def failed: Future[EC, Throwable]
- def fallbackTo[LEC <: EC, B >: A](that: Future[LEC, B]): Future[LEC, B]
- def filter(p: (A) => Boolean)(implicit ec: ExecutionContext[EC]): Future[EC, A]
- def foreach[U](f: (A) => U)(implicit ec: ExecutionContext[EC]): Unit
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onComplete[U](f: (Try[A]) => U)(implicit ec: ExecutionContext[EC]): Unit
- def recover[B >: A](pf: PartialFunction[Throwable, B])(implicit ec: ExecutionContext[EC]): Future[EC, B]
- def recoverWith[LEC <: EC, B >: A](pf: PartialFunction[Throwable, Future[LEC, B]])(implicit ec: ExecutionContext[EC]): Future[EC, B]
- def require[NEC <: EC]: Future[NEC, A]
.require[NEC]
is a friendly alias for: Future[NEC, A]
. - def toString(): String
- Definition Classes
- Any
- def transform[B](s: (A) => B, f: (Throwable) => Throwable)(implicit ec: ExecutionContext[EC]): Future[EC, B]
- def transform[B](f: (Try[A]) => Try[B])(implicit ec: ExecutionContext[EC]): Future[EC, B]
- def transformWith[LEC <: EC, B](f: (Try[A]) => Future[LEC, B])(implicit ec: ExecutionContext[EC]): Future[LEC, B]
- def withFilter(p: (A) => Boolean)(implicit ec: ExecutionContext[EC]): Future[EC, A]
- def zip[LEC <: EC, B](that: Future[LEC, B]): Future[LEC, (A, B)]
- def zipWith[LEC <: EC, B, C](that: Future[LEC, B])(f: (A, B) => C)(implicit ec: ExecutionContext[LEC]): Future[LEC, C]