final case class FutureEither[L, +R](future: Future[Either[L, R]]) extends AnyVal with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FutureEither
- Serializable
- Serializable
- Product
- Equals
- 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 FutureEither[L, R] to any2stringadd[FutureEither[L, R]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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()
- val future: Future[Either[L, R]]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
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