MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / clearIdleTimer

Function clearIdleTimer

source code/utils/sessionActivity.ts:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 3

startHeartbeatTimerFunction · 0.85
startIdleTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected