共用方式為


CompletableFuture.ThenAcceptBoth(ICompletionStage, IBiConsumer) 方法

定義

[Android.Runtime.Register("thenAcceptBoth", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;", "GetThenAcceptBoth_Ljava_util_concurrent_CompletionStage_Ljava_util_function_BiConsumer_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Util.Concurrent.ICompletionStage? ThenAcceptBoth (Java.Util.Concurrent.ICompletionStage? other, Java.Util.Functions.IBiConsumer? action);
[<Android.Runtime.Register("thenAcceptBoth", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;", "GetThenAcceptBoth_Ljava_util_concurrent_CompletionStage_Ljava_util_function_BiConsumer_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member ThenAcceptBoth : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IBiConsumer -> Java.Util.Concurrent.ICompletionStage
override this.ThenAcceptBoth : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IBiConsumer -> Java.Util.Concurrent.ICompletionStage

參數

action
IBiConsumer

傳回

實作

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於