Constructors
constructor
- new BlockedQueue<I = any>(
capacity?: number,
maxPending?: number,
): BlockedQueue<I> Parameters
- capacity: number = 1000
- maxPending: number = ...
Methods
deQueue
- deQueue(): Promise<I>
Returns Promise<I>
enQueue
- enQueue(item: I): Promise<void>
Returns Promise<void>
BlockedQueue
a blocked queue for async operations
Since
5.19.0