MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / IsWritableStreamLocked

Function IsWritableStreamLocked

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

Source from the content-addressed store, hash-verified

12244 return x5 instanceof WritableStream2;
12245 }
12246 function IsWritableStreamLocked(stream4) {
12247 if (stream4._writer === void 0) {
12248 return false;
12249 }
12250 return true;
12251 }
12252 function WritableStreamAbort(stream4, reason) {
12253 var _a6;
12254 if (stream4._state === "closed" || stream4._state === "errored") {

Callers 6

lockedMethod · 0.85
abortMethod · 0.85
closeMethod · 0.85
constructorMethod · 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…