implicit class FutureOps[+T] extends AnyRef
- Alphabetic
- By Inheritance
- FutureOps
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (FutureOps[T], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThenF[U](pf: PartialFunction[Try[T], Future[U]])(implicit ec: ExecutionContext): Future[T]
Applies the side-effecting future-returning function to the result of this future, and returns a new future with the result of this future.
Applies the side-effecting future-returning function to the result of this future, and returns a new future with the result of this future.
The chain will continue only after the future returned by side-effecting's function completes. If said future completes with a failure it will be reported to the execution context and won't fail entire chain.
- U
only used to accept any return type of the given
PartialFunction
- pf
a
PartialFunction
which will be conditionally applied to the outcome of thisFuture
- returns
a
Future
which will be completed with the exact same outcome as thisFuture
but after thePartialFunction
has been executed.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ensuring(cond: (FutureOps[T]) ⇒ Boolean, msg: ⇒ Any): FutureOps[T]
- def ensuring(cond: (FutureOps[T]) ⇒ Boolean): FutureOps[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): FutureOps[T]
- def ensuring(cond: Boolean): FutureOps[T]
-
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 formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )
- def →[B](y: B): (FutureOps[T], B)