@internal Reset flush/queue state for testing.
()
| 609 | |
| 610 | /** @internal Reset flush/queue state for testing. */ |
| 611 | _resetFlushState(): void { |
| 612 | this.pendingWriteCount = 0 |
| 613 | this.flushResolvers = [] |
| 614 | if (this.flushTimer) clearTimeout(this.flushTimer) |
| 615 | this.flushTimer = null |
| 616 | this.activeDrain = null |
| 617 | this.writeQueues = new Map() |
| 618 | } |
| 619 | |
| 620 | private incrementPendingWrites(): void { |
| 621 | this.pendingWriteCount++ |
no outgoing calls
no test coverage detected