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