final class RichFuture[A] extends AnyVal
- Source
- RichFuture.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RichFuture
- AnyVal
- Any
- Hide All
- Show All
Visibility
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def isFailure: Boolean
Returns whether the future has been completed with a Failure
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSuccess: Boolean
Returns whether the future has been completed with a Success
- def mapTry[B](f: (Try[A]) => B)(implicit ec: ExecutionContext): Future[B]
Alias for .mapValue
- def mapValue[B](f: (Try[A]) => B)(implicit ec: ExecutionContext): Future[B]
Like .map but allows you to map the Try[A] value instead of only a successful result
- val self: Future[A]
- def toString(): String
- Definition Classes
- Any