언어

CompletableFuture.RunAfterBoth(ICompletionStage, IRunnable) 메서드

정의

이 단계와 지정된 다른 단계가 모두 정상적으로 완료되면 지정된 작업을 실행하는 새 CompletionStage를 반환합니다.

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

매개 변수

other
ICompletionStage

다른 CompletionStage

action
IRunnable

반환된 CompletionStage를 완료하기 전에 수행할 작업

반품

새 CompletionStage

구현

특성

설명

이 단계와 지정된 다른 단계가 모두 정상적으로 완료되면 지정된 작업을 실행하는 새 CompletionStage를 반환합니다. 예외적인 완료를 다루는 규칙은 CompletionStage 설명서를 참조하세요.

에 대한 java.util.concurrent.CompletableFuture.runAfterBothJava 참조

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상