Share via


IBlockingQueueExtensions.PollAsync(IBlockingQueue, Int64, TimeUnit) Method

Definition

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

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