Skip to content

Commit

Permalink
doc: add missing commas in cluster docs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tniessen authored and ruyadorno committed Feb 8, 2022
1 parent f8d2955 commit 1c62eb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,10 @@ changes:

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

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

In a worker this sends a message to the primary. It is identical to
In a worker, this sends a message to the primary. It is identical to
`process.send()`.

This example will echo back all messages from the primary:
Expand Down Expand Up @@ -741,7 +741,7 @@ added: v0.7.0
* `address` {Object}

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

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

0 comments on commit 1c62eb6

Please sign in to comment.