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

Function validateBackpressure

lib/internal/streams/iter/utils.js:277–284  ·  view source on GitHub ↗

* Validate backpressure option value. * @param {string} value

(value)

Source from the content-addressed store, hash-verified

275 * @param {string} value
276 */
277function validateBackpressure(value) {
278 validateOneOf(value, 'options.backpressure', [
279 'strict',
280 'block',
281 'drop-oldest',
282 'drop-newest',
283 ]);
284}
285
286module.exports = {
287 kMultiConsumerDefaultHWM,

Callers 5

fromWritableFunction · 0.85
shareFunction · 0.85
shareSyncFunction · 0.85
broadcastFunction · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…