MCPcopy
hub / github.com/codeaashu/claude-code / release

Function release

src/utils/computerUse/drainRunLoop.ts:32–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32function release(): void {
33 pending--
34 if (pending <= 0 && pump !== undefined) {
35 clearInterval(pump)
36 pump = undefined
37 logForDebugging('[drainRunLoop] pump stopped', { level: 'verbose' })
38 pending = 0
39 }
40}
41
42const TIMEOUT_MS = 30_000
43

Callers 15

drainRunLoopFunction · 0.70
resetTaskListFunction · 0.50
createTaskFunction · 0.50
updateTaskFunction · 0.50
claimTaskFunction · 0.50
claimTaskWithBusyCheckFunction · 0.50
saveConfigWithLockFunction · 0.50
writeToMailboxFunction · 0.50
markMessageAsReadByIndexFunction · 0.50
markMessagesAsReadFunction · 0.50

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected