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

Function setupStreamIter

lib/internal/process/pre_execution.js:406–414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404}
405
406function setupStreamIter() {
407 if (!getOptionValue('--experimental-stream-iter')) {
408 return;
409 }
410
411 const { BuiltinModule } = require('internal/bootstrap/realm');
412 BuiltinModule.allowRequireByUsers('stream/iter');
413 BuiltinModule.allowRequireByUsers('zlib/iter');
414}
415
416function setupQuic() {
417 if (!getOptionValue('--experimental-quic')) {

Callers 1

prepareExecutionFunction · 0.85

Calls 3

getOptionValueFunction · 0.85
allowRequireByUsersMethod · 0.80
requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…