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

Function consumeFinish

github-actions/browserstack/set-browserstack-env.js:9912–9927  ·  view source on GitHub ↗
(consume2, err)

Source from the content-addressed store, hash-verified

9910 }
9911 // https://fetch.spec.whatwg.org/#dom-body-formdata
9912 formData() {
9913 return __async(this, null, function* () {
9914 throw new NotSupportedError();
9915 });
9916 }
9917 // https://fetch.spec.whatwg.org/#dom-body-bodyused
9918 get bodyUsed() {
9919 return util.isDisturbed(this);
9920 }
9921 // https://fetch.spec.whatwg.org/#dom-body-body
9922 get body() {
9923 if (!this[kBody]) {
9924 this[kBody] = ReadableStreamFrom(this);
9925 if (this[kConsume]) {
9926 this[kBody].getReader();
9927 assert(this[kBody].locked);
9928 }
9929 }
9930 return this[kBody];

Callers 2

consumeFunction · 0.70
consumeEndFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected