(consumer)
| 376 | } |
| 377 | |
| 378 | #deleteConsumerFromMin(consumer) { |
| 379 | if (consumer.cursor === this.#cachedMinCursor) { |
| 380 | this.#cachedMinCursorConsumers--; |
| 381 | return this.#cachedMinCursorConsumers === 0; |
| 382 | } |
| 383 | return false; |
| 384 | } |
| 385 | |
| 386 | #deleteConsumer(consumer) { |
| 387 | if (this.#consumers.delete(consumer)) { |
no outgoing calls
no test coverage detected