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

Function onEnd

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

Source from the content-addressed store, hash-verified

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

Callers 3

startRecordingFunction · 0.50
startSoxRecordingFunction · 0.50
startArecordRecordingFunction · 0.50

Calls 1

doneFunction · 0.70

Tested by

no test coverage detected