MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / read

Function read

packages/node-core/src/proxy/parse-proxy-response.ts:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 const buffers: Buffer[] = [];
53
54 function read() {
55 const b = socket.read();
56 if (b) ondata(b);
57 else socket.once('readable', read);
58 }
59
60 function cleanup() {
61 socket.removeListener('end', onend);

Callers 2

ondataFunction · 0.70
parseProxyResponseFunction · 0.70

Calls 3

ondataFunction · 0.85
readMethod · 0.65
onceMethod · 0.65

Tested by

no test coverage detected