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

Function retain

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

Source from the content-addressed store, hash-verified

22}
23
24function retain(): void {
25 pending++
26 if (pump === undefined) {
27 pump = setInterval(drainTick, 1, requireComputerUseSwift())
28 logForDebugging('[drainRunLoop] pump started', { level: 'verbose' })
29 }
30}
31
32function release(): void {
33 pending--

Callers 1

drainRunLoopFunction · 0.85

Calls 2

requireComputerUseSwiftFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected