MCPcopy Index your code
hub / github.com/nodejs/node / isReadableStreamLocked

Function isReadableStreamLocked

lib/internal/webstreams/readablestream.js:2142–2144  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

2140}
2141
2142function isReadableStreamLocked(stream) {
2143 return stream[kState].reader !== undefined;
2144}
2145
2146function readableStreamCancel(stream, reason) {
2147 stream[kState].disturbed = true;

Callers 9

lockedMethod · 0.85
cancelMethod · 0.85
pipeThroughMethod · 0.85
pipeToMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…