MCPcopy Create free account
hub / github.com/HELPMEEADICE/doge-code / trackWrite

Method trackWrite

src/utils/sessionStorage.ts:643–650  ·  view source on GitHub ↗
(fn: () => Promise<T>)

Source from the content-addressed store, hash-verified

641 }
642
643 private async trackWrite<T>(fn: () => Promise<T>): Promise<T> {
644 this.incrementPendingWrites()
645 try {
646 return await fn()
647 } finally {
648 this.decrementPendingWrites()
649 }
650 }
651
652 private enqueueWrite(filePath: string, entry: Entry): Promise<void> {
653 return new Promise<void>(resolve => {

Callers 6

removeMessageByUuidMethod · 0.95
insertMessageChainMethod · 0.95
insertQueueOperationMethod · 0.95

Calls 2

Tested by

no test coverage detected