Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ cancel
Function
cancel
lib/internal/webstreams/adapters.js:496–499 ·
view source on GitHub ↗
(reason)
Source
from the content-addressed store, hash-verified
494
type
: isBYOB ?
'bytes'
: undefined,
495
start(c) { controller = c; },
496
cancel(reason) {
497
wasCanceled = true;
498
destroy(streamReadable, reason);
499
},
500
};
501
502
const
readable = isReadable(streamReadable);
Callers
nothing calls this directly
Calls
3
reject
Method · 0.80
destroy
Function · 0.70
resolve
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…