言語

ICompletionStage.AcceptEitherAsync メソッド

定義

オーバーロード

名前 説明
AcceptEitherAsync(ICompletionStage, IConsumer)

新しい CompletionStage を返します。このステージまたは他の特定のステージが正常に完了すると、このステージの既定の非同期実行機能を使用して実行され、対応する結果が指定されたアクションの引数として使用されます。

AcceptEitherAsync(ICompletionStage, IConsumer, IExecutor)

新しい CompletionStage を返します。このステージまたは他の特定のステージが正常に完了すると、指定された Executor を使用して実行され、対応する結果が指定されたアクションの引数として返されます。

AcceptEitherAsync(ICompletionStage, IConsumer)

新しい CompletionStage を返します。このステージまたは他の特定のステージが正常に完了すると、このステージの既定の非同期実行機能を使用して実行され、対応する結果が指定されたアクションの引数として使用されます。

[Android.Runtime.Register("acceptEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletionStage;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Handler:Java.Util.Concurrent.ICompletionStageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public Java.Util.Concurrent.ICompletionStage? AcceptEitherAsync(Java.Util.Concurrent.ICompletionStage? other, Java.Util.Functions.IConsumer? action);
[<Android.Runtime.Register("acceptEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletionStage;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Handler:Java.Util.Concurrent.ICompletionStageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member AcceptEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IConsumer -> Java.Util.Concurrent.ICompletionStage

パラメーター

other
ICompletionStage

もう 1 つの CompletionStage

action
IConsumer

返された CompletionStage を完了する前に実行するアクション

返品

新しい CompletionStage

属性

注釈

新しい CompletionStage を返します。このステージまたは他の特定のステージが正常に完了すると、このステージの既定の非同期実行機能を使用して実行され、対応する結果が指定されたアクションの引数として使用されます。

例外的な完了をカバーする規則については、 CompletionStage ドキュメントを参照してください。

Javaドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象

AcceptEitherAsync(ICompletionStage, IConsumer, IExecutor)

新しい CompletionStage を返します。このステージまたは他の特定のステージが正常に完了すると、指定された Executor を使用して実行され、対応する結果が指定されたアクションの引数として返されます。

[Android.Runtime.Register("acceptEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/Consumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletionStage;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Ljava_util_concurrent_Executor_Handler:Java.Util.Concurrent.ICompletionStageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public Java.Util.Concurrent.ICompletionStage? AcceptEitherAsync(Java.Util.Concurrent.ICompletionStage? other, Java.Util.Functions.IConsumer? action, Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("acceptEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/Consumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletionStage;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Ljava_util_concurrent_Executor_Handler:Java.Util.Concurrent.ICompletionStageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member AcceptEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IConsumer * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage

パラメーター

other
ICompletionStage

もう 1 つの CompletionStage

action
IConsumer

返された CompletionStage を完了する前に実行するアクション

executor
IExecutor

非同期実行に使用する Executor

返品

新しい CompletionStage

属性

注釈

新しい CompletionStage を返します。このステージまたは他の特定のステージが正常に完了すると、指定された Executor を使用して実行され、対応する結果が指定されたアクションの引数として返されます。

例外的な完了をカバーする規則については、 CompletionStage ドキュメントを参照してください。

Javaドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象