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 屬性授權中所述的詞彙使用。