mirror of https://github.com/nodejs/node.git
docs: minor typo fix in child process docs
parent
9e00b7d3d0
commit
8f2b03242d
|
@ -218,7 +218,7 @@ For example:
|
|||
|
||||
n.send({ hello: 'world' });
|
||||
|
||||
And then the child script, `'sub.js'` would might look like this:
|
||||
And then the child script, `'sub.js'` might look like this:
|
||||
|
||||
process.on('message', function(m) {
|
||||
console.log('CHILD got message:', m);
|
||||
|
|
Loading…
Reference in New Issue