A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/jdk/javaapi/FutureConverters$.html below:

FutureConverters

scala.jdk.javaapi.FutureConverters

Members list

Returns a java.util.concurrent.CompletionStage that will be completed with the same value or exception as the given Scala scala.concurrent.Future when that completes.

Returns a java.util.concurrent.CompletionStage that will be completed with the same value or exception as the given Scala scala.concurrent.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 call thenRunAsync.

Value parameters
f

The Scala Future which may eventually supply the completion for the returned CompletionStage

Attributes
Returns

a CompletionStage that runs all callbacks asynchronously and does not support the CompletableFuture interface

Source
FutureConverters.scala

Returns a Scala scala.concurrent.Future that will be completed with the same value or exception as the given java.util.concurrent.CompletionStage when that completes.

Returns a Scala scala.concurrent.Future that will be completed with the same value or exception as the given java.util.concurrent.CompletionStage when that completes. Transformations of the returned Future are executed asynchronously as specified by the ExecutionContext that is given to the combinator methods.

Value parameters
cs

The CompletionStage which may eventually supply the completion for the returned Scala Future

Attributes
Returns

a Scala Future that represents the CompletionStage's completion

Source
FutureConverters.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4