MCPcopy Index your code
hub / github.com/codeaashu/claude-code / clearTimer

Function clearTimer

src/hooks/useAwaySummary.ts:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 if (!gbEnabled) return
56
57 function clearTimer(): void {
58 if (timerRef.current !== null) {
59 clearTimeout(timerRef.current)
60 timerRef.current = null
61 }
62 }
63
64 function abortInFlight(): void {
65 abortRef.current?.abort()

Callers 2

onFocusChangeFunction · 0.70
useAwaySummaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected