Language

IBlockingQueueExtensions.PutAsync(IBlockingQueue, Object) Method

Definition

Runs Put(Object) on the specified queue through Task.

public static System.Threading.Tasks.Task PutAsync(this Java.Util.Concurrent.IBlockingQueue self, Java.Lang.Object? e);
static member PutAsync : Java.Util.Concurrent.IBlockingQueue * Java.Lang.Object -> System.Threading.Tasks.Task

Parameters

self
IBlockingQueue

The queue whose Put(Object) method is called.

e
Object

The element passed to Put(Object) for insertion.

Returns

A task that completes when the Put(Object) call completes.

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