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

Function unregisterSessionActivityCallback

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

Source from the content-addressed store, hash-verified

66}
67
68export function unregisterSessionActivityCallback(): void {
69 activityCallback = null
70 // Stop timer if the callback is removed
71 if (heartbeatTimer !== null) {
72 clearInterval(heartbeatTimer)
73 heartbeatTimer = null
74 }
75 clearIdleTimer()
76}
77
78export function sendSessionActivitySignal(): void {
79 if (isEnvTruthy(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES)) {

Callers 3

doDisconnectMethod · 0.85
closeMethod · 0.85
closeMethod · 0.85

Calls 1

clearIdleTimerFunction · 0.85

Tested by

no test coverage detected