Skip to content

Commit

Permalink
doc: add changelogs for cluster
Browse files Browse the repository at this point in the history
PR-URL: #11489
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Italo A. Casas <[email protected]>
  • Loading branch information
addaleax committed Feb 24, 2017
1 parent 5d4e638 commit de83e21
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit de83e21

Please sign in to comment.