MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / maybeFlush

Method maybeFlush

src/telemetry/index.ts:268–270  ·  view source on GitHub ↗

* Fire-and-forget send of everything sendable. Never throws, never logs * above debug. Safe to call at startup of long-running commands.

()

Source from the content-addressed store, hash-verified

266 * above debug. Safe to call at startup of long-running commands.
267 */
268 maybeFlush(): void {
269 void this.flushNow().catch(() => { /* fail silent */ });
270 }
271
272 /**
273 * Drain in-memory state to the buffer, then send completed-day rollups and

Callers 2

startIntervalMethod · 0.95
mainFunction · 0.80

Calls 1

flushNowMethod · 0.95

Tested by

no test coverage detected