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

Function ReadableStreamBYOBReaderErrorReadIntoRequests

out/cli.cjs:12027–12033  ·  view source on GitHub ↗
(reader, e3)

Source from the content-addressed store, hash-verified

12025 ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e3);
12026 }
12027 function ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e3) {
12028 const readIntoRequests = reader._readIntoRequests;
12029 reader._readIntoRequests = new SimpleQueue();
12030 readIntoRequests.forEach((readIntoRequest) => {
12031 readIntoRequest._errorSteps(e3);
12032 });
12033 }
12034 function byobReaderBrandCheckException(name) {
12035 return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`);
12036 }

Callers 2

ReadableStreamErrorFunction · 0.85

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…