Language

IBlockingQueueExtensions.TakeAsync(IBlockingQueue) Method

Definition

Runs Take() on the specified queue through Task.

public static System.Threading.Tasks.Task<Java.Lang.Object?> TakeAsync(this Java.Util.Concurrent.IBlockingQueue self);
static member TakeAsync : Java.Util.Concurrent.IBlockingQueue -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

self
IBlockingQueue

The queue whose Take() method is called.

Returns

A task whose result is the element removed by Take().

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