CompletableFuture.ThenApplyAsync Method

Definition

Overloads

ThenApplyAsync(IFunction)
ThenApplyAsync(IFunction, IExecutor)

ThenApplyAsync(IFunction)

[Android.Runtime.Register("thenApplyAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;", "GetThenApplyAsync_Ljava_util_function_Function_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Util.Concurrent.ICompletionStage? ThenApplyAsync (Java.Util.Functions.IFunction? fn);
[<Android.Runtime.Register("thenApplyAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;", "GetThenApplyAsync_Ljava_util_function_Function_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member ThenApplyAsync : Java.Util.Functions.IFunction -> Java.Util.Concurrent.ICompletionStage
override this.ThenApplyAsync : Java.Util.Functions.IFunction -> Java.Util.Concurrent.ICompletionStage

Parameters

Returns

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ThenApplyAsync(IFunction, IExecutor)

[Android.Runtime.Register("thenApplyAsync", "(Ljava/util/function/Function;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetThenApplyAsync_Ljava_util_function_Function_Ljava_util_concurrent_Executor_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Util.Concurrent.ICompletionStage? ThenApplyAsync (Java.Util.Functions.IFunction? fn, Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("thenApplyAsync", "(Ljava/util/function/Function;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetThenApplyAsync_Ljava_util_function_Function_Ljava_util_concurrent_Executor_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member ThenApplyAsync : Java.Util.Functions.IFunction * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage
override this.ThenApplyAsync : Java.Util.Functions.IFunction * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage

Parameters

executor
IExecutor

Returns

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to