Lines Matching refs:on
23 // This test starts two clustered HTTP servers on the same port. It expects the
36 // The first worker starts a server on a fixed port and fires a ready message
54 a.on('exit', common.mustCall((c) => {
61 b.on('exit', common.mustCall((c) => {
69 a.on('message', common.mustCall((m) => {
74 b.on('message', common.mustCall((m) => {
88 process.on('message', common.mustCall((m) => {
95 process.on('message', common.mustCall((m) => {
99 server.on('error', common.mustCall((e) => {
110 worker.on('exit', process.exit);
111 worker.on('message', process.send.bind(process));
112 process.on('message', worker.send.bind(worker));