Share via


CompletableFuture.Join Method

Definition

Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.

[Android.Runtime.Register("join", "()Ljava/lang/Object;", "GetJoinHandler", ApiSince=24)]
public virtual Java.Lang.Object? Join ();
[<Android.Runtime.Register("join", "()Ljava/lang/Object;", "GetJoinHandler", ApiSince=24)>]
abstract member Join : unit -> Java.Lang.Object
override this.Join : unit -> Java.Lang.Object

Returns

the result value

Attributes

Remarks

Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally. To better conform with the use of common functional forms, if a computation involved in the completion of this CompletableFuture threw an exception, this method throws an (unchecked) CompletionException with the underlying exception as its cause.

Java documentation for java.util.concurrent.CompletableFuture.join().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to