CompletableFuture.ThenAcceptBoth(ICompletionStage, IBiConsumer) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
參數
- other
- ICompletionStage
- action
- IBiConsumer
傳回
實作
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。