CompletableFuture.ThenAccept(IConsumer) 方法

定义

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

参数

action
IConsumer

返回

实现

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于