CompletableFuture.RunAfterEitherAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- other
- 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
参数
- other
- ICompletionStage
- action
- IRunnable
- executor
- IExecutor
返回
实现
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。