Skip to content

Commit b8d994a

Browse files
authored
doc: add missing commas in cluster docs
PR-URL: #41865 Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
1 parent 662fb5f commit b8d994a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/cluster.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,10 @@ changes:
630630

631631
Send a message to a worker or primary, optionally with a handle.
632632

633-
In the primary this sends a message to a specific worker. It is identical to
633+
In the primary, this sends a message to a specific worker. It is identical to
634634
[`ChildProcess.send()`][].
635635

636-
In a worker this sends a message to the primary. It is identical to
636+
In a worker, this sends a message to the primary. It is identical to
637637
`process.send()`.
638638

639639
This example will echo back all messages from the primary:
@@ -736,7 +736,7 @@ added: v0.7.0
736736
* `address` {Object}
737737

738738
After calling `listen()` from a worker, when the `'listening'` event is emitted
739-
on the server a `'listening'` event will also be emitted on `cluster` in the
739+
on the server, a `'listening'` event will also be emitted on `cluster` in the
740740
primary.
741741

742742
The event handler is executed with two arguments, the `worker` contains the

0 commit comments

Comments
 (0)