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

Function flushAll

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

Source from the content-addressed store, hash-verified

142 }
143
144 async function flushAll(): Promise<void> {
145 const keys = Array.from(pending.keys())
146 await Promise.all(keys.map((key) => flush(key)))
147 }
148
149 async function waitForWrites(): Promise<void> {
150 await Promise.all(Array.from(writing.values()))

Callers 1

disposeFunction · 0.85

Calls 1

flushFunction · 0.85

Tested by

no test coverage detected