MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / flush

Function flush

packages/sdk/src/persist-queue.ts:66–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65 return {
66 async flush(): Promise<void> {
67 if (pendingWrite !== null) {
68 clearTimeout(pendingWrite);
69 pendingWrite = null;
70 }
71 await doWrite();
72 },
73
74 dispose(): void {
75 disposed = true;

Callers

nothing calls this directly

Calls 1

doWriteFunction · 0.85

Tested by

no test coverage detected