Skip to content

cluster.on('message') not return worker  #5764

Closed
@Hamper

Description

@Hamper
  • Version: 4.4.0, 5.9.0
  • Platform: Linux test 4.4.4-calculate deps: update openssl to 1.0.1j #1 SMP PREEMPT Wed Mar 9 16:35:58 MSK 2016 x86_64 Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz GenuineIntel GNU/Linux
  • Subsystem: cluster, documentation

In documentation:

Event: 'message'#
worker <cluster.Worker>
message <Object>
Emitted when any worker receives a message.

but real use is:

cluster.on('message', msg => { /* worker isn`t known */ })

Metadata

Metadata

Assignees

Labels

clusterIssues and PRs related to the cluster subsystem.docIssues and PRs related to the documentations.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions