(sequence: number)
| 82 | } |
| 83 | |
| 84 | private async waitUntilConsumed(sequence: number): Promise<void> { |
| 85 | while (this.consumedCount < sequence) { |
| 86 | if (this.err) throw this.err; |
| 87 | if (this.consumerDetached) throw consumerDetachedError(); |
| 88 | await this.waitForProgress(); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | /** Consumer-side ack: one event has been fully processed (not just received). */ |
| 93 | ackConsumed(): void { |
no test coverage detected