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

Function ReadableStreamTee

out/cli.cjs:13458–13463  ·  view source on GitHub ↗
(stream4, cloneForBranch2)

Source from the content-addressed store, hash-verified

13456 return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`);
13457 }
13458 function ReadableStreamTee(stream4, cloneForBranch2) {
13459 if (IsReadableByteStreamController(stream4._readableStreamController)) {
13460 return ReadableByteStreamTee(stream4);
13461 }
13462 return ReadableStreamDefaultTee(stream4);
13463 }
13464 function ReadableStreamDefaultTee(stream4, cloneForBranch2) {
13465 const reader = AcquireReadableStreamDefaultReader(stream4);
13466 let reading = false;

Callers 1

teeMethod · 0.85

Calls 3

ReadableByteStreamTeeFunction · 0.85
ReadableStreamDefaultTeeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…