summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cluster.md8
-rw-r--r--doc/api/process.md6
2 files changed, 12 insertions, 2 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}
diff --git a/doc/api/process.md b/doc/api/process.md
index 718ab002d3..9fa2b78654 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -1940,7 +1940,11 @@ added: v0.5.9
* `message` {Object}
* `sendHandle` {net.Server|net.Socket}
-* `options` {Object}
+* `options` {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}