MCPcopy
hub / github.com/nodejs/undici / consumePush

Function consumePush

lib/api/readable.js:589–592  ·  view source on GitHub ↗

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

(consume, chunk)

Source from the content-addressed store, hash-verified

587 * @returns {void}
588 */
589function consumePush (consume, chunk) {
590 consume.length += chunk.length
591 consume.body.push(chunk)
592}
593
594/**
595 * @param {Consume} consume

Callers 2

pushMethod · 0.85
consumeStartFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…