summaryrefslogtreecommitdiff
path: root/doc/api/cluster.md
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-02-21 23:38:43 +0100
committerAnna Henningsen <anna@addaleax.net>2017-02-24 02:06:31 +0100
commitdc10c1aa29db556fcb02918c6e565ece4a2128c0 (patch)
tree2ac5f444c2b4f1d49a56b31aeea97ae751da6f3a /doc/api/cluster.md
parent7f24ec1088d1c0d346d2df1263a9bb58a20800ea (diff)
downloadandroid-node-v8-dc10c1aa29db556fcb02918c6e565ece4a2128c0.tar.gz
android-node-v8-dc10c1aa29db556fcb02918c6e565ece4a2128c0.tar.bz2
android-node-v8-dc10c1aa29db556fcb02918c6e565ece4a2128c0.zip
doc: add changelogs for cluster
PR-URL: https://github.com/nodejs/node/pull/11489 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 01a2aaf6a8..d0ec3f4ed5 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -260,6 +260,10 @@ It is not emitted in the worker.
### worker.disconnect()
<!-- YAML
added: v0.7.7
+changes:
+ - version: v7.3.0
+ pr-url: https://github.com/nodejs/node/pull/10019
+ description: This method now returns a reference to `worker`.
-->
* Returns: {Worker} A reference to `worker`.
@@ -416,6 +420,10 @@ accidental disconnection.
### worker.send(message[, sendHandle][, callback])
<!-- YAML
added: v0.7.0
+changes:
+ - version: v4.0.0
+ pr-url: https://github.com/nodejs/node/pull/2620
+ description: The `callback` parameter is supported now.
-->
* `message` {Object}
@@ -449,6 +457,10 @@ if (cluster.isMaster) {
<!-- YAML
added: v0.7.0
deprecated: v6.0.0
+changes:
+ - version: v7.0.0
+ pr-url: https://github.com/nodejs/node/pull/3747
+ description: Accessing this property will now emit a deprecation warning.
-->
> Stability: 0 - Deprecated: Use [`worker.exitedAfterDisconnect`][] instead.
@@ -579,6 +591,13 @@ The `addressType` is one of:
* `"udp4"` or `"udp6"` (UDP v4 or v6)
## Event: 'message'
+<!-- YAML
+added: v2.5.0
+changes:
+ - version: v6.0.0
+ pr-url: https://github.com/nodejs/node/pull/5361
+ description: The `worker` parameter is passed now; see below for details.
+-->
* `worker` {cluster.Worker}
* `message` {Object}
@@ -708,6 +727,10 @@ values are `"rr"` and `"none"`.
## cluster.settings
<!-- YAML
added: v0.7.1
+changes:
+ - version: v6.4.0
+ pr-url: https://github.com/nodejs/node/pull/7838
+ description: The `stdio` option is supported now.
-->
* {Object}
@@ -732,6 +755,10 @@ This object is not supposed to be changed or set manually, by you.
## cluster.setupMaster([settings])
<!-- YAML
added: v0.7.1
+changes:
+ - version: v6.4.0
+ pr-url: https://github.com/nodejs/node/pull/7838
+ description: The `stdio` option is supported now.
-->
* `settings` {Object}