Browse Source

doc: fix typo about cluster doc, (eg. -> e.g.)

Fixes: https://github.com/nodejs/code-and-learn/issues/58
PR-URL: https://github.com/nodejs/node/pull/9568
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
v6
YutamaKotaro 8 years ago
committed by Shigeki Ohtsu
parent
commit
a3dd9430c7
  1. 4
      doc/api/cluster.md

4
doc/api/cluster.md

@ -144,7 +144,7 @@ added: v0.11.2
--> -->
* `code` {Number} the exit code, if it exited normally. * `code` {Number} the exit code, if it exited normally.
* `signal` {String} the name of the signal (eg. `'SIGHUP'`) that caused * `signal` {String} the name of the signal (e.g. `'SIGHUP'`) that caused
the process to be killed. the process to be killed.
Similar to the `cluster.on('exit')` event, but specific to this worker. Similar to the `cluster.on('exit')` event, but specific to this worker.
@ -496,7 +496,7 @@ added: v0.7.9
* `worker` {cluster.Worker} * `worker` {cluster.Worker}
* `code` {Number} the exit code, if it exited normally. * `code` {Number} the exit code, if it exited normally.
* `signal` {String} the name of the signal (eg. `'SIGHUP'`) that caused * `signal` {String} the name of the signal (e.g. `'SIGHUP'`) that caused
the process to be killed. the process to be killed.
When any of the workers die the cluster module will emit the `'exit'` event. When any of the workers die the cluster module will emit the `'exit'` event.

Loading…
Cancel
Save