Udostępnij za pośrednictwem


ExecutorCompletionService.PollAsync Method

Definition

Overloads

PollAsync()
PollAsync(Int64, TimeUnit)

PollAsync()

public System.Threading.Tasks.Task<Java.Util.Concurrent.IFuture?> PollAsync ();
member this.PollAsync : unit -> System.Threading.Tasks.Task<Java.Util.Concurrent.IFuture>

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

PollAsync(Int64, TimeUnit)

public System.Threading.Tasks.Task<Java.Util.Concurrent.IFuture?> PollAsync (long timeout, Java.Util.Concurrent.TimeUnit? unit);
member this.PollAsync : int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<Java.Util.Concurrent.IFuture>

Parameters

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