diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-02-22 01:38:43 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-02-24 04:06:31 +0300 |
commit | dc10c1aa29db556fcb02918c6e565ece4a2128c0 (patch) | |
tree | 2ac5f444c2b4f1d49a56b31aeea97ae751da6f3a | |
parent | 7f24ec1088d1c0d346d2df1263a9bb58a20800ea (diff) |
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>
-rw-r--r-- | doc/api/cluster.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 01a2aaf6a8c..d0ec3f4ed5d 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} |