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

Function ReadableStreamBYOBReaderRead

out/cli.cjs:12013–12021  ·  view source on GitHub ↗
(reader, view, min, readIntoRequest)

Source from the content-addressed store, hash-verified

12011 return x5 instanceof ReadableStreamBYOBReader2;
12012 }
12013 function ReadableStreamBYOBReaderRead(reader, view, min, readIntoRequest) {
12014 const stream4 = reader._ownerReadableStream;
12015 stream4._disturbed = true;
12016 if (stream4._state === "errored") {
12017 readIntoRequest._errorSteps(stream4._storedError);
12018 } else {
12019 ReadableByteStreamControllerPullInto(stream4._readableStreamController, view, min, readIntoRequest);
12020 }
12021 }
12022 function ReadableStreamBYOBReaderRelease(reader) {
12023 ReadableStreamReaderGenericRelease(reader);
12024 const e3 = new TypeError("Reader was released");

Callers 2

readMethod · 0.85
pullWithBYOBReaderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…