c

io.github.hamsters

FutureEither

final case class FutureEither[L, +R](future: Future[Either[L, R]]) extends AnyVal with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureEither
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FutureEither(future: Future[Either[L, R]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to any2stringadd[FutureEither[L, R]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FutureEither[L, R], B)
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to ArrowAssoc[FutureEither[L, R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def ensuring(cond: (FutureEither[L, R]) ⇒ Boolean, msg: ⇒ Any): FutureEither[L, R]
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to Ensuring[FutureEither[L, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (FutureEither[L, R]) ⇒ Boolean): FutureEither[L, R]
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to Ensuring[FutureEither[L, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: ⇒ Any): FutureEither[L, R]
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to Ensuring[FutureEither[L, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): FutureEither[L, R]
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to Ensuring[FutureEither[L, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def filter(p: (R) ⇒ Boolean)(implicit ec: ExecutionContext): FutureEither[String, R]

    Keep only values which satisfy a predicate

    Keep only values which satisfy a predicate

    returns

    a new FutureEither

  12. def filterWithDefault(p: (R) ⇒ Boolean, default: L)(implicit ec: ExecutionContext): FutureEither[L, R]

    Keep only values which satisfy a predicate, with a default value

    Keep only values which satisfy a predicate, with a default value

    returns

    a new FutureEither

  13. def flatMap[R2](f: (R) ⇒ FutureEither[L, R2])(implicit ec: ExecutionContext): FutureEither[L, R2]

    Returns the result of applying f to this FutureEither if this FutureEither is not empty

    Returns the result of applying f to this FutureEither if this FutureEither is not empty

    returns

    a new FutureEither

  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to StringFormat[FutureEither[L, R]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. val future: Future[Either[L, R]]
  16. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def map[R2](f: (R) ⇒ R2)(implicit ec: ExecutionContext): FutureEither[L, R2]

    Returns the result of applying f to this FutureEither if this FutureEither is not empty

    Returns the result of applying f to this FutureEither if this FutureEither is not empty

    returns

    a new FutureEither

  19. def withFilter(p: (R) ⇒ Boolean)(implicit ec: ExecutionContext): FutureEither[String, R]

    Keep only values which satisfy a predicate

    Keep only values which satisfy a predicate

    returns

    a new FutureEither

  20. def [B](y: B): (FutureEither[L, R], B)
    Implicit
    This member is added by an implicit conversion from FutureEither[L, R] to ArrowAssoc[FutureEither[L, R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from FutureEither[L, R] to any2stringadd[FutureEither[L, R]]

Inherited by implicit conversion StringFormat from FutureEither[L, R] to StringFormat[FutureEither[L, R]]

Inherited by implicit conversion Ensuring from FutureEither[L, R] to Ensuring[FutureEither[L, R]]

Inherited by implicit conversion ArrowAssoc from FutureEither[L, R] to ArrowAssoc[FutureEither[L, R]]

Ungrouped