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

Function stopRestartInterval

src/services/preventSleep.ts:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94function stopRestartInterval(): void {
95 if (restartInterval !== null) {
96 clearInterval(restartInterval)
97 restartInterval = null
98 }
99}
100
101function spawnCaffeinate(): void {
102 // Only run on macOS

Callers 2

stopPreventSleepFunction · 0.85
forceStopPreventSleepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected