MCPcopy Create free account
hub / github.com/nodejs/undici / onResponseData

Method onResponseData

benchmarks/benchmark-https.js:120–124  ·  view source on GitHub ↗
(controller, chunk)

Source from the content-addressed store, hash-verified

118 }
119
120 onResponseData (controller, chunk) {
121 if (this.dst.write(chunk) === false) {
122 controller.pause()
123 }
124 }
125
126 onResponseEnd (controller, trailers) {
127 this.dst.end()

Callers

nothing calls this directly

Calls 2

pauseMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected