summaryrefslogtreecommitdiff
path: root/doc/api/cluster.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 972309a701..179a775074 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -456,7 +456,7 @@ Workers will call `process.exit(0)` if the `'disconnect'` event occurs
on `process` and `.exitedAfterDisconnect` is not `true`. This protects against
accidental disconnection.
-### worker.send(message\[, sendHandle\]\[, callback\])
+### worker.send(message\[, sendHandle\[, options\]\]\[, callback\])
<!-- YAML
added: v0.7.0
changes:
@@ -467,6 +467,12 @@ changes:
* `message` {Object}
* `sendHandle` {Handle}
+* `options` {Object} The `options` argument, if present, is an object used to
+ parameterize the sending of certain types of handles. `options` supports
+ the following properties:
+ * `keepOpen` {boolean} A value that can be used when passing instances of
+ `net.Socket`. When `true`, the socket is kept open in the sending process.
+ **Default:** `false`.
* `callback` {Function}
* Returns: {boolean}