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

Function onFirstData

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

Source from the content-addressed store, hash-verified

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)
67 stream.once('end', onEnd)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected