public static final class FutureConverters.CompletionStageOps<T>
extends scala.AnyVal
Constructor and Description |
---|
CompletionStageOps(java.util.concurrent.CompletionStage<T> __self) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<T> |
__self() |
scala.concurrent.Future<T> |
toScala()
Returns a Scala Future that will be completed with the same value or
exception as the given CompletionStage when that completes.
|
public CompletionStageOps(java.util.concurrent.CompletionStage<T> __self)
public java.util.concurrent.CompletionStage<T> __self()
public scala.concurrent.Future<T> toScala()