Freigeben über


CompletableFuture.AcceptEitherAsync Methode

Definition

Überlädt

AcceptEitherAsync(ICompletionStage, IConsumer)
AcceptEitherAsync(ICompletionStage, IConsumer, IExecutor)

AcceptEitherAsync(ICompletionStage, IConsumer)

[Android.Runtime.Register("acceptEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Handler", ApiSince=24)]
public virtual 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/CompletableFuture;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Handler", ApiSince=24)>]
abstract member AcceptEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IConsumer -> Java.Util.Concurrent.ICompletionStage
override this.AcceptEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IConsumer -> Java.Util.Concurrent.ICompletionStage

Parameter

action
IConsumer

Gibt zurück

Implementiert

Attribute

Hinweise

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die vom Android Open Source-Projekt erstellt und freigegeben werden und gemäß den in der Creative Commons 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für:

AcceptEitherAsync(ICompletionStage, IConsumer, IExecutor)

[Android.Runtime.Register("acceptEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/util/function/Consumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Ljava_util_concurrent_Executor_Handler", ApiSince=24)]
public virtual 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/CompletableFuture;", "GetAcceptEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_util_function_Consumer_Ljava_util_concurrent_Executor_Handler", ApiSince=24)>]
abstract member AcceptEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IConsumer * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage
override this.AcceptEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Util.Functions.IConsumer * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage

Parameter

action
IConsumer
executor
IExecutor

Gibt zurück

Implementiert

Attribute

Hinweise

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die vom Android Open Source-Projekt erstellt und freigegeben werden und gemäß den in der Creative Commons 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: