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

Function InitializeWritableStream

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

Source from the content-addressed store, hash-verified

12223 return stream4;
12224 }
12225 function InitializeWritableStream(stream4) {
12226 stream4._state = "writable";
12227 stream4._storedError = void 0;
12228 stream4._writer = void 0;
12229 stream4._writableStreamController = void 0;
12230 stream4._writeRequests = new SimpleQueue();
12231 stream4._inFlightWriteRequest = void 0;
12232 stream4._closeRequest = void 0;
12233 stream4._inFlightCloseRequest = void 0;
12234 stream4._pendingAbortRequest = void 0;
12235 stream4._backpressure = false;
12236 }
12237 function IsWritableStream(x5) {
12238 if (!typeIsObject(x5)) {
12239 return false;

Callers 2

constructorMethod · 0.85
CreateWritableStreamFunction · 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…