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

Method trackWrite

source code/utils/sessionStorage.ts:599–606  ·  view source on GitHub ↗
(fn: () => Promise<T>)

Source from the content-addressed store, hash-verified

597 }
598
599 private async trackWrite<T>(fn: () => Promise<T>): Promise<T> {
600 this.incrementPendingWrites()
601 try {
602 return await fn()
603 } finally {
604 this.decrementPendingWrites()
605 }
606 }
607
608 private enqueueWrite(filePath: string, entry: Entry): Promise<void> {
609 return new Promise<void>(resolve => {

Callers 6

removeMessageByUuidMethod · 0.95
insertMessageChainMethod · 0.95
insertQueueOperationMethod · 0.95

Calls 2

Tested by

no test coverage detected