MCPcopy Create free account
hub / github.com/freecodexyz/free-code / clearTimer

Function clearTimer

src/utils/bufferedWriter.ts:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 let pendingOverflow: string[] | null = null
29
30 function clearTimer(): void {
31 if (flushTimer) {
32 clearTimeout(flushTimer)
33 flushTimer = null
34 }
35 }
36
37 function flush(): void {
38 if (pendingOverflow) {

Callers 2

flushFunction · 0.70
flushDeferredFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected