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>
This commit is contained in:
parent
9428854b96
commit
a3dd9430c7
@ -144,7 +144,7 @@ added: v0.11.2
|
||||
-->
|
||||
|
||||
* `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.
|
||||
|
||||
Similar to the `cluster.on('exit')` event, but specific to this worker.
|
||||
@ -496,7 +496,7 @@ added: v0.7.9
|
||||
|
||||
* `worker` {cluster.Worker}
|
||||
* `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.
|
||||
|
||||
When any of the workers die the cluster module will emit the `'exit'` event.
|
||||
|
Loading…
x
Reference in New Issue
Block a user