Constructors
Properties
Accessors
length
- get length(): number
Returns number
Methods
[asyncIterator]
- "[asyncIterator]"(): AsyncIterableIterator<T, any, any>
Returns AsyncIterableIterator<T, any, any>
enqueue
- enqueue(item: T): void
Returns void
next
- next(): undefined | T
Returns undefined | T
nextOrWait
- nextOrWait(): Promise<undefined | T>
Returns Promise<undefined | T>
peek
- peek(): undefined | T
Returns undefined | T
Underlying deque.
Use with care and don't modify it directly, as it may break the async queue's internal state.