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

Function child2

test/sequential/test-stream2-stderr-sync.js:65–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64// using a net socket
65function child2() {
66 const net = require('net');
67 const socket = new net.Socket({
68 fd: 2,
69 readable: false,
70 writable: true,
71 });
72 socket.write('child 2\n');
73 socket.write('foo\n');
74 socket.write('bar\n');
75 socket.write('baz\n');
76}
77
78
79function child3() {

Callers

nothing calls this directly

Calls 2

requireFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…