MCPcopy Create free account
hub / github.com/bevyengine/bevy-website / pull1Algorithm

Function pull1Algorithm

static/web-streams-polyfill-3.2.1.mjs:3290–3304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3288 ReadableStreamBYOBReaderRead(reader, view, readIntoRequest);
3289 }
3290 function pull1Algorithm() {
3291 if (reading) {
3292 readAgainForBranch1 = true;
3293 return promiseResolvedWith(undefined);
3294 }
3295 reading = true;
3296 const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController);
3297 if (byobRequest === null) {
3298 pullWithDefaultReader();
3299 }
3300 else {
3301 pullWithBYOBReader(byobRequest._view, false);
3302 }
3303 return promiseResolvedWith(undefined);
3304 }
3305 function pull2Algorithm() {
3306 if (reading) {
3307 readAgainForBranch2 = true;

Callers 2

pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Calls 4

promiseResolvedWithFunction · 0.85
pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Tested by

no test coverage detected