MCPcopy
hub / github.com/di-sukharev/opencommit / tee

Method tee

out/cli.cjs:8802–8806  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8800 return this.locked ? d6(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : e3.locked ? d6(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : kt(this, e3, r3.preventClose, r3.preventAbort, r3.preventCancel, r3.signal);
8801 }
8802 tee() {
8803 if (!H5(this)) throw Kt("tee");
8804 if (this.locked) throw new TypeError("Cannot tee a stream that already has a reader");
8805 return Ot(this);
8806 }
8807 values(e3) {
8808 if (!H5(this)) throw Kt("values");
8809 return function(e4, t2) {

Callers 2

cloneBodyFunction · 0.45
processStreamFunction · 0.45

Calls 3

H5Function · 0.85
KtFunction · 0.85
OtFunction · 0.85

Tested by

no test coverage detected