MCPcopy Index your code
hub / github.com/nodejs/node / readableStreamTee

Function readableStreamTee

lib/internal/webstreams/readablestream.js:1748–1753  ·  view source on GitHub ↗
(stream, cloneForBranch2)

Source from the content-addressed store, hash-verified

1746}
1747
1748function readableStreamTee(stream, cloneForBranch2) {
1749 if (isReadableByteStreamController(stream[kState].controller)) {
1750 return readableByteStreamTee(stream);
1751 }
1752 return readableStreamDefaultTee(stream, cloneForBranch2);
1753}
1754
1755function readableStreamDefaultTee(stream, cloneForBranch2) {
1756 const reader = new ReadableStreamDefaultReader(stream);

Callers 2

teeMethod · 0.85

Calls 2

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…