Freigeben über


CompletableFuture.ThenAcceptAsync Method

Definition

Overloads

ThenAcceptAsync(IConsumer)
ThenAcceptAsync(IConsumer, IExecutor)

ThenAcceptAsync(IConsumer)

[Android.Runtime.Register("thenAcceptAsync", "(Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;", "GetThenAcceptAsync_Ljava_util_function_Consumer_Handler", ApiSince=24)]
public virtual Java.Util.Concurrent.ICompletionStage? ThenAcceptAsync (Java.Util.Functions.IConsumer? action);
[<Android.Runtime.Register("thenAcceptAsync", "(Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;", "GetThenAcceptAsync_Ljava_util_function_Consumer_Handler", ApiSince=24)>]
abstract member ThenAcceptAsync : Java.Util.Functions.IConsumer -> Java.Util.Concurrent.ICompletionStage
override this.ThenAcceptAsync : Java.Util.Functions.IConsumer -> Java.Util.Concurrent.ICompletionStage

Parameters

action
IConsumer

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

ThenAcceptAsync(IConsumer, IExecutor)

[Android.Runtime.Register("thenAcceptAsync", "(Ljava/util/function/Consumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetThenAcceptAsync_Ljava_util_function_Consumer_Ljava_util_concurrent_Executor_Handler", ApiSince=24)]
public virtual Java.Util.Concurrent.ICompletionStage? ThenAcceptAsync (Java.Util.Functions.IConsumer? action, Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("thenAcceptAsync", "(Ljava/util/function/Consumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetThenAcceptAsync_Ljava_util_function_Consumer_Ljava_util_concurrent_Executor_Handler", ApiSince=24)>]
abstract member ThenAcceptAsync : Java.Util.Functions.IConsumer * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage
override this.ThenAcceptAsync : Java.Util.Functions.IConsumer * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage

Parameters

action
IConsumer
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