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

Function onEnd

src/utils/process.ts:61–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 void resolve(timedOut)
60 }
61 const onEnd = () => done(false)
62 const onFirstData = () => clearTimeout(peek)
63 // eslint-disable-next-line no-restricted-syntax -- not a sleep: races timeout against stream end/data events
64 const peek = setTimeout(done, ms, true)

Callers 3

startRecordingFunction · 0.85
startSoxRecordingFunction · 0.85
startArecordRecordingFunction · 0.85

Calls 1

doneFunction · 0.70

Tested by

no test coverage detected