@@ -260,6 +260,10 @@ It is not emitted in the worker.
260
260
### worker.disconnect()
261
261
<!-- YAML
262
262
added: v0.7.7
263
+ changes:
264
+ - version: v7.3.0
265
+ pr-url: https://github.com/nodejs/node/pull/10019
266
+ description: This method now returns a reference to `worker`.
263
267
-->
264
268
265
269
* Returns: {Worker} A reference to ` worker ` .
@@ -416,6 +420,10 @@ accidental disconnection.
416
420
### worker.send(message[ , sendHandle] [ , callback ] )
417
421
<!-- YAML
418
422
added: v0.7.0
423
+ changes:
424
+ - version: v4.0.0
425
+ pr-url: https://github.com/nodejs/node/pull/2620
426
+ description: The `callback` parameter is supported now.
419
427
-->
420
428
421
429
* ` message ` {Object}
@@ -449,6 +457,10 @@ if (cluster.isMaster) {
449
457
<!-- YAML
450
458
added: v0.7.0
451
459
deprecated: v6.0.0
460
+ changes:
461
+ - version: v7.0.0
462
+ pr-url: https://github.com/nodejs/node/pull/3747
463
+ description: Accessing this property will now emit a deprecation warning.
452
464
-->
453
465
454
466
> Stability: 0 - Deprecated: Use [ ` worker.exitedAfterDisconnect ` ] [ ] instead.
@@ -579,6 +591,13 @@ The `addressType` is one of:
579
591
* ` "udp4" ` or ` "udp6" ` (UDP v4 or v6)
580
592
581
593
## Event: 'message'
594
+ <!-- YAML
595
+ added: v2.5.0
596
+ changes:
597
+ - version: v6.0.0
598
+ pr-url: https://github.com/nodejs/node/pull/5361
599
+ description: The `worker` parameter is passed now; see below for details.
600
+ -->
582
601
583
602
* ` worker ` {cluster.Worker}
584
603
* ` message ` {Object}
@@ -708,6 +727,10 @@ values are `"rr"` and `"none"`.
708
727
## cluster.settings
709
728
<!-- YAML
710
729
added: v0.7.1
730
+ changes:
731
+ - version: v6.4.0
732
+ pr-url: https://github.com/nodejs/node/pull/7838
733
+ description: The `stdio` option is supported now.
711
734
-->
712
735
713
736
* {Object}
@@ -732,6 +755,10 @@ This object is not supposed to be changed or set manually, by you.
732
755
## cluster.setupMaster([ settings] )
733
756
<!-- YAML
734
757
added: v0.7.1
758
+ changes:
759
+ - version: v6.4.0
760
+ pr-url: https://github.com/nodejs/node/pull/7838
761
+ description: The `stdio` option is supported now.
735
762
-->
736
763
737
764
* ` settings ` {Object}
0 commit comments