IExecutorServiceExtensions.InvokeAnyAsync Method

Definition

Overloads

InvokeAnyAsync(IExecutorService, ICollection)
InvokeAnyAsync(IExecutorService, ICollection, Int64, TimeUnit)

InvokeAnyAsync(IExecutorService, ICollection)

public static System.Threading.Tasks.Task<Java.Lang.Object?> InvokeAnyAsync (this Java.Util.Concurrent.IExecutorService self, System.Collections.ICollection? tasks);
static member InvokeAnyAsync : Java.Util.Concurrent.IExecutorService * System.Collections.ICollection -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

tasks
ICollection

Returns

Remarks

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

InvokeAnyAsync(IExecutorService, ICollection, Int64, TimeUnit)

public static System.Threading.Tasks.Task<Java.Lang.Object?> InvokeAnyAsync (this Java.Util.Concurrent.IExecutorService self, System.Collections.ICollection? tasks, long timeout, Java.Util.Concurrent.TimeUnit? unit);
static member InvokeAnyAsync : Java.Util.Concurrent.IExecutorService * System.Collections.ICollection * int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

tasks
ICollection
timeout
Int64
unit
TimeUnit

Returns

Remarks

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