Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ onResponseEnd
Function
onResponseEnd
packages/platform/node/src/NodeHttpClient.ts:303–306 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
301
if
(!body!.push(chunk)) c.pause()
302
},
303
onResponseEnd() {
304
done()
305
body!.push(null)
306
},
307
onResponseError(_, cause) {
308
done()
309
if
(body === undefined) fail(cause)
Callers
nothing calls this directly
Calls
2
done
Function · 0.70
push
Method · 0.65
Tested by
no test coverage detected