@internal Reset flush/queue state for testing.
()
| 573 | |
| 574 | /** @internal Reset flush/queue state for testing. */ |
| 575 | _resetFlushState(): void { |
| 576 | this.pendingWriteCount = 0 |
| 577 | this.flushResolvers = [] |
| 578 | if (this.flushTimer) clearTimeout(this.flushTimer) |
| 579 | this.flushTimer = null |
| 580 | this.activeDrain = null |
| 581 | this.writeQueues = new Map() |
| 582 | } |
| 583 | |
| 584 | private incrementPendingWrites(): void { |
| 585 | this.pendingWriteCount++ |
no outgoing calls
no test coverage detected