MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / onEnd

Function onEnd

source code/utils/process.ts:63–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 void resolve(timedOut)
62 }
63 const onEnd = () => done(false)
64 const onFirstData = () => clearTimeout(peek)
65 // eslint-disable-next-line no-restricted-syntax -- not a sleep: races timeout against stream end/data events
66 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