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

Function eeTest

test/sequential/test-repl-timeout-throw.js:40–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 function eeTest() {
41 child.stdin.write('setTimeout(function() {\n' +
42 ' const events = require("events");\n' +
43 ' let e = new events.EventEmitter;\n' +
44 ' process.nextTick(function() {\n' +
45 ' e.on("x", thrower);\n' +
46 ' setTimeout(function() {\n' +
47 ' e.emit("x");\n' +
48 ' });\n' +
49 ' });\n' +
50 '});"";\n');
51 }
52});
53
54child.on('close', common.mustCall((c) => {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…