CompletableFuture.HandleAsync Method

Definition

Overloads

HandleAsync(IBiFunction)
HandleAsync(IBiFunction, IExecutor)

HandleAsync(IBiFunction)

[Android.Runtime.Register("handleAsync", "(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;", "GetHandleAsync_Ljava_util_function_BiFunction_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Util.Concurrent.ICompletionStage? HandleAsync (Java.Util.Functions.IBiFunction? fn);
[<Android.Runtime.Register("handleAsync", "(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;", "GetHandleAsync_Ljava_util_function_BiFunction_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member HandleAsync : Java.Util.Functions.IBiFunction -> Java.Util.Concurrent.ICompletionStage
override this.HandleAsync : Java.Util.Functions.IBiFunction -> 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

HandleAsync(IBiFunction, IExecutor)

[Android.Runtime.Register("handleAsync", "(Ljava/util/function/BiFunction;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetHandleAsync_Ljava_util_function_BiFunction_Ljava_util_concurrent_Executor_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Util.Concurrent.ICompletionStage? HandleAsync (Java.Util.Functions.IBiFunction? fn, Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("handleAsync", "(Ljava/util/function/BiFunction;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetHandleAsync_Ljava_util_function_BiFunction_Ljava_util_concurrent_Executor_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member HandleAsync : Java.Util.Functions.IBiFunction * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage
override this.HandleAsync : Java.Util.Functions.IBiFunction * 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