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

Function pull2Algorithm

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

Source from the content-addressed store, hash-verified

3303 return promiseResolvedWith(undefined);
3304 }
3305 function pull2Algorithm() {
3306 if (reading) {
3307 readAgainForBranch2 = true;
3308 return promiseResolvedWith(undefined);
3309 }
3310 reading = true;
3311 const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch2._readableStreamController);
3312 if (byobRequest === null) {
3313 pullWithDefaultReader();
3314 }
3315 else {
3316 pullWithBYOBReader(byobRequest._view, true);
3317 }
3318 return promiseResolvedWith(undefined);
3319 }
3320 function cancel1Algorithm(reason) {
3321 canceled1 = true;
3322 reason1 = reason;

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