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

Function flushQueue

src/renderer/src/stores/persistenceQueue.ts:238–243  ·  view source on GitHub ↗
(
  queue: PersistenceQueue<TKey, TData>
)

Source from the content-addressed store, hash-verified

236}
237
238async function flushQueue<TKey extends string, TData>(
239 queue: PersistenceQueue<TKey, TData>
240): Promise<void> {
241 await queue.flushAll()
242 await queue.waitForWrites()
243}
244
245function mergePageFileMutation(current: PageFileMutation, next: PageFileMutation): PageFileMutation {
246 if (current.deletePage || next.deletePage) {

Callers 1

getPageFileQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected