ForkJoinTask.Invoke Method

Definition

Commences performing this task, awaits its completion if necessary, and returns its result, or throws an (unchecked) RuntimeException or Error if the underlying computation did so.

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

Returns

the computed result

Attributes

Remarks

Commences performing this task, awaits its completion if necessary, and returns its result, or throws an (unchecked) RuntimeException or Error if the underlying computation did so.

Java documentation for java.util.concurrent.ForkJoinTask.invoke().

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