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

Function flushAllPersistenceQueues

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

Source from the content-addressed store, hash-verified

367}
368
369export async function flushAllPersistenceQueues(): Promise<void> {
370 await Promise.all(Array.from(queues.values()).map((queue) => queue.dispose()))
371}
372
373export async function resetPersistenceQueues(): Promise<void> {
374 await flushAllPersistenceQueues()

Callers 4

stopActiveWorkFunction · 0.90
constructorMethod · 0.90
registerFlushListenerFunction · 0.85
resetPersistenceQueuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected