class EnrichedFuture[A] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnrichedFuture
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(): A
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
completeOption: Option[A]
Some value if promise is complete, otherwise None
-
def
either: Future[Either[Throwable, A]]
Project promised value into an either containing the value or any exception thrown retrieving it.
Project promised value into an either containing the value or any exception thrown retrieving it. Unwraps
cause
of any top-level ExecutionException -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flatten[B](implicit pv: <:<[Future[A], Future[Future[B]]], executor: ExecutionContext): Future[B]
-
def
fold[X](fa: (Throwable) ⇒ X, fb: (A) ⇒ X)(implicit executor: ExecutionContext): Future[X]
Project any resulting exception or result into a unified type X
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
left[B, C](implicit ev: <:<[Future[A], Future[Either[B, C]]], executor: ExecutionContext): LeftProjection[B, C]
Create a left projection of a contained either
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
option: Future[Option[A]]
Project promised value into an Option containing the value if retrived with no exception
- def print: String
-
def
right[B, C](implicit ev: <:<[Future[A], Future[Either[B, C]]], executor: ExecutionContext): RightProjection[B, C]
Create a right projection of a contained either
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
values[B](implicit ev: <:<[Future[A], Future[Iterable[B]]], executor: ExecutionContext): Values[B]
Facilitates projection over promised iterables
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )