From c291dfc0a997d963f3a1881494194f9a52b55760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 5 Feb 2022 21:08:52 +0100 Subject: [PATCH] doc: add missing commas in cluster docs --- doc/api/cluster.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 0a5af1bcf27cda..45b2352d124403 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -630,10 +630,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: @@ -736,7 +736,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