MCPcopy Index your code
hub / github.com/nodejs/node / consumePush

Function consumePush

deps/undici/src/lib/api/readable.js:548–551  ·  view source on GitHub ↗

* @param {Consume} consume * @param {Buffer} chunk * @returns {void}

(consume, chunk)

Source from the content-addressed store, hash-verified

546 * @returns {void}
547 */
548function consumePush (consume, chunk) {
549 consume.length += chunk.length
550 consume.body.push(chunk)
551}
552
553/**
554 * @param {Consume} consume

Callers 2

pushMethod · 0.70
consumeStartFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…