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

Function consumePush

github-actions/browserstack/set-browserstack-env.js:9908–9911  ·  view source on GitHub ↗
(consume2, chunk)

Source from the content-addressed store, hash-verified

9906 const { _readableState: state } = consume2.stream;
9907 if (state.bufferIndex) {
9908 const start = state.bufferIndex;
9909 const end = state.buffer.length;
9910 for (let n = start; n < end; n++) {
9911 consumePush(consume2, state.buffer[n]);
9912 }
9913 } else {
9914 for (const chunk of state.buffer) {

Callers 2

pushMethod · 0.70
consumeStartFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected