CompletableFuture.RunAfterEitherAsync 方法

定义

重载

RunAfterEitherAsync(ICompletionStage, IRunnable)
RunAfterEitherAsync(ICompletionStage, IRunnable, IExecutor)

RunAfterEitherAsync(ICompletionStage, IRunnable)

[Android.Runtime.Register("runAfterEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/lang/Runnable;)Ljava/util/concurrent/CompletableFuture;", "GetRunAfterEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_lang_Runnable_Handler", ApiSince=24)]
public virtual Java.Util.Concurrent.ICompletionStage? RunAfterEitherAsync (Java.Util.Concurrent.ICompletionStage? other, Java.Lang.IRunnable? action);
[<Android.Runtime.Register("runAfterEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/lang/Runnable;)Ljava/util/concurrent/CompletableFuture;", "GetRunAfterEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_lang_Runnable_Handler", ApiSince=24)>]
abstract member RunAfterEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Lang.IRunnable -> Java.Util.Concurrent.ICompletionStage
override this.RunAfterEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Lang.IRunnable -> Java.Util.Concurrent.ICompletionStage

参数

action
IRunnable

返回

实现

属性

注解

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

适用于

RunAfterEitherAsync(ICompletionStage, IRunnable, IExecutor)

[Android.Runtime.Register("runAfterEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetRunAfterEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_lang_Runnable_Ljava_util_concurrent_Executor_Handler", ApiSince=24)]
public virtual Java.Util.Concurrent.ICompletionStage? RunAfterEitherAsync (Java.Util.Concurrent.ICompletionStage? other, Java.Lang.IRunnable? action, Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("runAfterEitherAsync", "(Ljava/util/concurrent/CompletionStage;Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;", "GetRunAfterEitherAsync_Ljava_util_concurrent_CompletionStage_Ljava_lang_Runnable_Ljava_util_concurrent_Executor_Handler", ApiSince=24)>]
abstract member RunAfterEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Lang.IRunnable * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage
override this.RunAfterEitherAsync : Java.Util.Concurrent.ICompletionStage * Java.Lang.IRunnable * Java.Util.Concurrent.IExecutor -> Java.Util.Concurrent.ICompletionStage

参数

action
IRunnable
executor
IExecutor

返回

实现

属性

注解

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

适用于