Language

IBlockingQueueExtensions Class

Definition

Provides task-based extension methods for IBlockingQueue.

public static class IBlockingQueueExtensions
type IBlockingQueueExtensions = class
Inheritance
IBlockingQueueExtensions

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.

Methods

Name Description
OfferAsync(IBlockingQueue, Object, Int64, TimeUnit)

Runs Offer(Object, Int64, TimeUnit) on the specified queue through Task.

OfferAsync(IBlockingQueue, Object)

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

PollAsync(IBlockingQueue, Int64, TimeUnit)

Runs Poll(Int64, TimeUnit) on the specified queue through Task.

PutAsync(IBlockingQueue, Object)

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

TakeAsync(IBlockingQueue)

Runs Take() on the specified queue through Task.

Applies to