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

Function pull1Algorithm

lib/internal/webstreams/readablestream.js:2061–2075  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2059 }
2060
2061 function pull1Algorithm() {
2062 if (reading) {
2063 readAgainForBranch1 = true;
2064 return PromiseResolve();
2065 }
2066 reading = true;
2067
2068 const byobRequest = branch1[kState].controller.byobRequest;
2069 if (byobRequest === null) {
2070 pullWithDefaultReader();
2071 } else {
2072 pullWithBYOBReader(byobRequest[kState].view, false);
2073 }
2074 return PromiseResolve();
2075 }
2076
2077 function pull2Algorithm() {
2078 if (reading) {

Callers 1

[kChunk]Function · 0.85

Calls 2

pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Tested by

no test coverage detected