ForkJoinTask.Join Method

Definition

Returns the result of the computation when it #isDone is done.

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

Returns

the computed result

Attributes

Remarks

Returns the result of the computation when it #isDone is done. This method differs from #get() in that abnormal completion results in RuntimeException or Error, not ExecutionException, and that interrupts of the calling thread do <em>not</em> cause the method to abruptly return by throwing InterruptedException.

Java documentation for java.util.concurrent.ForkJoinTask.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