diff options
author | Nick Schonning <nschonni@gmail.com> | 2019-10-10 01:49:08 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-11 08:15:58 +0300 |
commit | 81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch) | |
tree | 151d163358f029f8f686b595db2c565ddcff1070 /doc/api/cluster.md | |
parent | a1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff) |
doc: escape brackets not used as markdown reference links
These can turn into links if reference links are added to the document
PR-URL: https://github.com/nodejs/node/pull/29809
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r-- | doc/api/cluster.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 06f730e3ae6..6ea11b08ae2 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -415,7 +415,7 @@ if (cluster.isMaster) { } ``` -### worker.kill([signal='SIGTERM']) +### worker.kill(\[signal='SIGTERM'\]) <!-- YAML added: v0.9.12 --> @@ -456,7 +456,7 @@ Workers will call `process.exit(0)` if the `'disconnect'` event occurs on `process` and `.exitedAfterDisconnect` is not `true`. This protects against accidental disconnection. -### worker.send(message[, sendHandle][, callback]) +### worker.send(message\[, sendHandle\]\[, callback\]) <!-- YAML added: v0.7.0 changes: @@ -664,7 +664,7 @@ The `settings` object is the `cluster.settings` object at the time If accuracy is important, use `cluster.settings`. -## cluster.disconnect([callback]) +## cluster.disconnect(\[callback\]) <!-- YAML added: v0.7.7 --> @@ -682,7 +682,7 @@ finished. This can only be called from the master process. -## cluster.fork([env]) +## cluster.fork(\[env\]) <!-- YAML added: v0.6.0 --> @@ -777,7 +777,7 @@ the settings, including the default values. This object is not intended to be changed or set manually. -## cluster.setupMaster([settings]) +## cluster.setupMaster(\[settings\]) <!-- YAML added: v0.7.1 changes: |