Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
pause
Method · 0.65
write
Method · 0.45
Tested by
no test coverage detected