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

Method dump

github-actions/saucelabs/set-saucelabs-env.js:9754–9790  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

9752 }
9753 // https://fetch.spec.whatwg.org/#dom-body-json
9754 json() {
9755 return __async(this, null, function* () {
9756 return consume(this, "json");
9757 });
9758 }
9759 // https://fetch.spec.whatwg.org/#dom-body-blob
9760 blob() {
9761 return __async(this, null, function* () {
9762 return consume(this, "blob");
9763 });
9764 }
9765 // https://fetch.spec.whatwg.org/#dom-body-bytes
9766 bytes() {
9767 return __async(this, null, function* () {
9768 return consume(this, "bytes");
9769 });
9770 }
9771 // https://fetch.spec.whatwg.org/#dom-body-arraybuffer
9772 arrayBuffer() {
9773 return __async(this, null, function* () {
9774 return consume(this, "arrayBuffer");
9775 });
9776 }
9777 // https://fetch.spec.whatwg.org/#dom-body-formdata
9778 formData() {
9779 return __async(this, null, function* () {
9780 throw new NotSupportedError();
9781 });
9782 }
9783 // https://fetch.spec.whatwg.org/#dom-body-bodyused
9784 get bodyUsed() {
9785 return util.isDisturbed(this);
9786 }
9787 // https://fetch.spec.whatwg.org/#dom-body-body
9788 get body() {
9789 if (!this[kBody]) {
9790 this[kBody] = ReadableStreamFrom(this);
9791 if (this[kConsume]) {
9792 this[kBody].getReader();
9793 assert(this[kBody].locked);

Callers

nothing calls this directly

Calls 4

__asyncFunction · 0.70
destroyMethod · 0.45
resumeMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected