MCPcopy Create free account
hub / github.com/angular/dev-infra / safelyExtractBody

Function safelyExtractBody

github-actions/browserstack/set-browserstack-env.js:5770–5776  ·  view source on GitHub ↗
(object, keepalive = false)

Source from the content-addressed store, hash-verified

5768`);
5769 blobParts.push(chunk);
5770 length += chunk.byteLength;
5771 if (hasUnknownSizeValue) {
5772 length = null;
5773 }
5774 source = object;
5775 action = function() {
5776 return __asyncGenerator(this, null, function* () {
5777 for (const part of blobParts) {
5778 if (part.stream) {
5779 yield* __yieldStar(part.stream());

Callers 3

processBodyFunction · 0.70
schemeFetchFunction · 0.70
httpRedirectFetchFunction · 0.70

Calls 1

extractBodyFunction · 0.70

Tested by

no test coverage detected