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

Function clearIdleTimer

src/utils/sessionActivity.ts:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53function clearIdleTimer(): void {
54 if (idleTimer !== null) {
55 clearTimeout(idleTimer)
56 idleTimer = null
57 }
58}
59
60export function registerSessionActivityCallback(cb: () => void): void {
61 activityCallback = cb

Callers 3

startHeartbeatTimerFunction · 0.85
startIdleTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected