final class FutureOps[T] extends AnyVal
- Alphabetic
- By Inheritance
- FutureOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FutureOps(__self: Future[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- val __self: Future[T]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toJava: CompletionStage[T]
Returns a CompletionStage that will be completed with the same value or exception as the given Scala Future when that completes.
Returns a CompletionStage that will be completed with the same value or exception as the given Scala Future when that completes. Since the Future is a read-only representation, this CompletionStage does not support the
toCompletableFuture
method. The semantics of Scala Future demand that all callbacks are invoked asynchronously by default, therefore the returned CompletionStage routes all calls to synchronous transformations to their asynchronous counterparts, i.e.thenRun
will internally callthenRunAsync
.- returns
a CompletionStage that runs all callbacks asynchronously and does not support the CompletableFuture interface
- def toString(): String
- Definition Classes
- Any