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

Function chunksConcat

github-actions/browserstack/set-browserstack-env.js:9873–9888  ·  view source on GitHub ↗
(chunks, length)

Source from the content-addressed store, hash-verified

9871 removeListener(ev, ...args) {
9872 return this.off(ev, ...args);
9873 }
9874 push(chunk) {
9875 if (this[kConsume] && chunk !== null) {
9876 consumePush(this[kConsume], chunk);
9877 return this[kReading] ? super.push(chunk) : true;
9878 }
9879 return super.push(chunk);
9880 }
9881 // https://fetch.spec.whatwg.org/#dom-body-text
9882 text() {
9883 return __async(this, null, function* () {
9884 return consume(this, "text");
9885 });
9886 }
9887 // https://fetch.spec.whatwg.org/#dom-body-json
9888 json() {
9889 return __async(this, null, function* () {
9890 return consume(this, "json");
9891 });

Callers 1

consumeEndFunction · 0.70

Calls 1

setMethod · 0.45

Tested by

no test coverage detected