diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-08 16:53:47 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-04-16 16:02:13 -0700 |
commit | f600e95ff09c27bde8ae2a80aaf536afa55a1d9e (patch) | |
tree | ec61a1ba78a11f1314d1fabbd2bf655b51e98c53 /doc/api/process.md | |
parent | fde5a6b65a00b9f0f717f1e59fc3f3af728dbe42 (diff) | |
download | node-new-f600e95ff09c27bde8ae2a80aaf536afa55a1d9e.tar.gz |
doc, tools: make type parsing more strict
PR-URL: https://github.com/nodejs/node/pull/19881
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r-- | doc/api/process.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/process.md b/doc/api/process.md index e80e187cc1..c454d67574 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -89,8 +89,8 @@ the child process. The listener callback is invoked with the following arguments: * `message` {Object} a parsed JSON object or primitive value. -* `sendHandle` {Handle object} a [`net.Socket`][] or [`net.Server`][] object, or - undefined. +* `sendHandle` {net.Server|net.Socket} a [`net.Server`][] or [`net.Socket`][] + object, or undefined. The message goes through serialization and parsing. The resulting message might not be the same as what is originally sent. @@ -1531,7 +1531,7 @@ added: v0.5.9 --> * `message` {Object} -* `sendHandle` {Handle object} +* `sendHandle` {net.Server|net.Socket} * `options` {Object} * `callback` {Function} * Returns: {boolean} |