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

Method byobRequest

out/cli.cjs:8353–8364  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8351 throw new TypeError("Illegal constructor");
8352 }
8353 get byobRequest() {
8354 if (!de(this)) throw Ae("byobRequest");
8355 return function(e3) {
8356 if (null === e3._byobRequest && e3._pendingPullIntos.length > 0) {
8357 const t2 = e3._pendingPullIntos.peek(), r3 = new Uint8Array(t2.buffer, t2.byteOffset + t2.bytesFilled, t2.byteLength - t2.bytesFilled), o3 = Object.create(ReadableStreamBYOBRequest.prototype);
8358 !function(e4, t3, r4) {
8359 e4._associatedReadableByteStreamController = t3, e4._view = r4;
8360 }(o3, e3, r3), e3._byobRequest = o3;
8361 }
8362 return e3._byobRequest;
8363 }(this);
8364 }
8365 get desiredSize() {
8366 if (!de(this)) throw Ae("desiredSize");
8367 return ke(this);

Callers

nothing calls this directly

Calls 4

deFunction · 0.85
AeFunction · 0.85
peekMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected