MCPcopy Create free account
hub / github.com/experdot/pointer / dispose

Function dispose

src/renderer/src/stores/persistenceQueue.ts:160–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 async function dispose(): Promise<void> {
161 for (const timer of timers.values()) {
162 clearTimeout(timer)
163 }
164 timers.clear()
165 await flushAll()
166 await waitForWrites()
167 }
168
169 return {
170 enqueue,

Callers

nothing calls this directly

Calls 3

flushAllFunction · 0.85
waitForWritesFunction · 0.85
clearMethod · 0.65

Tested by

no test coverage detected