Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ onend
Function
onend
lib/internal/streams/legacy.js:44–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
let
didOnEnd = false;
44
function
onend() {
45
if
(didOnEnd)
return
;
46
didOnEnd = true;
47
48
dest.end();
49
}
50
51
52
function
onclose() {
Callers
nothing calls this directly
Calls
1
end
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…