-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(cluster): message event docs slightly wrong/confusing #7997
Comments
mscdex
added
cluster
Issues and PRs related to the cluster subsystem.
doc
Issues and PRs related to the documentations.
labels
Aug 6, 2016
Why not:
Or, even more explicit:
|
zbjornson
added a commit
to zbjornson/node
that referenced
this issue
Aug 8, 2016
* cluster "message" is emitted when master, not worker, receives a message from a worker. Fixes nodejs#7997.
Aye, your second one is explicit and more accurate than "when a worker sends a message." PR #8017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From Cluster > Event: 'message'
I think this should say "sends a message." See gist -- when a worker receives a message from the master (which is how I read the docs currently), this is not triggered in either the worker or the master. It is triggered in the master when a worker sends a message.
Happy to PR if I'm not misunderstanding this.
The text was updated successfully, but these errors were encountered: