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

Function duplexPair

lib/internal/streams/duplexpair.js:79–85  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

77}
78
79function duplexPair(options) {
80 const side0 = new DuplexSide(options);
81 const side1 = new DuplexSide(options);
82 side0[kInitOtherSide](side1);
83 side1[kInitOtherSide](side0);
84 return [side0, side1];
85}
86module.exports = duplexPair;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…