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

Method body

github-actions/saucelabs/set-saucelabs-env.js:9744–9753  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9742 consumePush(this[kConsume], chunk);
9743 return this[kReading] ? super.push(chunk) : true;
9744 }
9745 return super.push(chunk);
9746 }
9747 // https://fetch.spec.whatwg.org/#dom-body-text
9748 text() {
9749 return __async(this, null, function* () {
9750 return consume(this, "text");
9751 });
9752 }
9753 // https://fetch.spec.whatwg.org/#dom-body-json
9754 json() {
9755 return __async(this, null, function* () {
9756 return consume(this, "json");

Callers

nothing calls this directly

Calls 1

ReadableStreamFromFunction · 0.70

Tested by

no test coverage detected