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

Function chunksDecode

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

Source from the content-addressed store, hash-verified

9862 return this.on(ev, ...args);
9863 }
9864 off(ev, ...args) {
9865 const ret = super.off(ev, ...args);
9866 if (ev === "data" || ev === "readable") {
9867 this[kReading] = this.listenerCount("data") > 0 || this.listenerCount("readable") > 0;
9868 }
9869 return ret;
9870 }
9871 removeListener(ev, ...args) {
9872 return this.off(ev, ...args);
9873 }
9874 push(chunk) {
9875 if (this[kConsume] && chunk !== null) {

Callers 2

consumeEndFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected