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 stream.on("error", (err) => {
9872 reject(err);
9873 }).on("close", () => {
9874 reject(new TypeError("unusable"));
9875 });
9876 } else {
9877 reject((_a = rState.errored) != null ? _a : new TypeError("unusable"));
9878 }
9879 } else {
9880 queueMicrotask(() => {
9881 stream[kConsume] = {
9882 type,
9883 stream,
9884 resolve: resolve2,
9885 reject,
9886 length: 0,
9887 body: []
9888 };
9889 stream.on("error", function(err) {
9890 consumeFinish(this[kConsume], err);
9891 }).on("close", function() {

Callers 1

consumeEndFunction · 0.70

Calls 1

setMethod · 0.45

Tested by

no test coverage detected