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

Function fullyReadBody

github-actions/browserstack/set-browserstack-env.js:4764–4781  ·  view source on GitHub ↗
(body, processBody, processBodyError)

Source from the content-addressed store, hash-verified

4762 done: false
4763 };
4764 }
4765 }
4766 _target = new WeakMap();
4767 _kind = new WeakMap();
4768 _index = new WeakMap();
4769 delete FastIterableIterator.prototype.constructor;
4770 Object.setPrototypeOf(FastIterableIterator.prototype, esIteratorPrototype);
4771 Object.defineProperties(FastIterableIterator.prototype, {
4772 [Symbol.toStringTag]: {
4773 writable: false,
4774 enumerable: false,
4775 configurable: true,
4776 value: `${name} Iterator`
4777 },
4778 next: { writable: true, enumerable: true, configurable: true }
4779 });
4780 return function(target, kind) {
4781 return new FastIterableIterator(target, kind);
4782 };
4783 }
4784 function iteratorMixin(name, object, kInternalIterator, keyIndex = 0, valueIndex = 1) {

Callers 2

consumeBodyFunction · 0.70
mainFetchFunction · 0.70

Calls 4

__asyncFunction · 0.70
errorStepsFunction · 0.70
successStepsFunction · 0.70
readAllBytesFunction · 0.70

Tested by

no test coverage detected