MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / IsReadableStreamLocked

Function IsReadableStreamLocked

out/cli.cjs:14127–14132  ·  view source on GitHub ↗
(stream4)

Source from the content-addressed store, hash-verified

14125 return x5 instanceof ReadableStream7;
14126 }
14127 function IsReadableStreamLocked(stream4) {
14128 if (stream4._reader === void 0) {
14129 return false;
14130 }
14131 return true;
14132 }
14133 function ReadableStreamCancel(stream4, reason) {
14134 stream4._disturbed = true;
14135 if (stream4._state === "closed") {

Callers 8

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

Calls

no outgoing calls

Tested by

no test coverage detected