언어

CompletableFuture.RunAfterBothAsync 메서드

정의

오버로드

속성 Description
RunAfterBothAsync(ICompletionStage, IRunnable, IExecutor)

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

RunAfterBothAsync(ICompletionStage, IRunnable)

이 단계와 지정된 다른 단계가 모두 정상적으로 완료되면 이 단계의 기본 비동기 실행 기능을 사용하여 지정된 작업을 실행하는 새 CompletionStage를 반환합니다.

RunAfterBothAsync(ICompletionStage, IRunnable, IExecutor)

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

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

매개 변수

other
ICompletionStage

다른 CompletionStage

action
IRunnable

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

executor
IExecutor

비동기 실행에 사용할 실행기

반품

새 CompletionStage

구현

특성

설명

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

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

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

적용 대상

RunAfterBothAsync(ICompletionStage, IRunnable)

이 단계와 지정된 다른 단계가 모두 정상적으로 완료되면 이 단계의 기본 비동기 실행 기능을 사용하여 지정된 작업을 실행하는 새 CompletionStage를 반환합니다.

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

매개 변수

other
ICompletionStage

다른 CompletionStage

action
IRunnable

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

반품

새 CompletionStage

구현

특성

설명

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

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

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

적용 대상