MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / _resetFlushState

Method _resetFlushState

source code/utils/sessionStorage.ts:575–582  ·  view source on GitHub ↗

@internal Reset flush/queue state for testing.

()

Source from the content-addressed store, hash-verified

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++

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected