()
| 8339 | this.list[this.bottom] = void 0; |
| 8340 | this.bottom = this.bottom + 1 & kMask; |
| 8341 | return nextItem; |
| 8342 | } |
| 8343 | }; |
| 8344 | module.exports = class FixedQueue { |
| 8345 | constructor() { |
| 8346 | this.head = this.tail = new FixedCircularBuffer(); |
| 8347 | } |
| 8348 | isEmpty() { |
| 8349 | return this.head.isEmpty(); |
| 8350 | } |
| 8351 | push(data) { |