Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ onFinish
Function
onFinish
deps/undici/src/lib/api/api-stream.js:46–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
45
const
onError = (err) => finish(err, true)
46
const
onFinish = () => finish()
47
48
stream.on(
'close'
, onClose)
49
stream.on(
'error'
, onError)
Callers
nothing calls this directly
Calls
1
finish
Function · 0.70
Tested by
no test coverage detected