Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ closeReader
Function
closeReader
lib/internal/webstreams/adapters.js:905–908 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
903
}
904
905
async
function
closeReader() {
906
if
(!readableClosed)
907
await
reader.cancel(error);
908
}
909
910
if
(!writableClosed || !readableClosed) {
911
PromisePrototypeThen(
Callers
1
destroy
Function · 0.85
Calls
1
cancel
Method · 0.45
Tested by
no test coverage detected