Skip to content

Commit ee2fd79

Browse files
committed
doc: Remove mention of child.send 'track' option
Will be removed very soon. No point making it public.
1 parent 01a4be4 commit ee2fd79

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

doc/api/child_process.markdown

+3-9
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,10 @@ process may not actually kill it. `kill` really just sends a signal to a proces
124124

125125
See `kill(2)`
126126

127-
### child.send(message, [sendHandle], [options])
127+
### child.send(message, [sendHandle])
128128

129129
* `message` {Object}
130130
* `sendHandle` {Handle object}
131-
* `options` {Object}
132131

133132
When using `child_process.fork()` you can write to the child using
134133
`child.send(message, [sendHandle])` and messages are received by
@@ -167,12 +166,7 @@ The `sendHandle` option to `child.send()` is for sending a TCP server or
167166
socket object to another process. The child will receive the object as its
168167
second argument to the `message` event.
169168

170-
The `options` object may have the following properties:
171-
172-
* `track` - Notify master process when `sendHandle` will be closed in child
173-
process. (`false` by default)
174-
175-
**send server object**
169+
#### Example: sending server object
176170

177171
Here is an example of sending a server:
178172

@@ -200,7 +194,7 @@ And the child would the receive the server object as:
200194
Note that the server is now shared between the parent and child, this means
201195
that some connections will be handled by the parent and some by the child.
202196

203-
**send socket object**
197+
#### Example: sending socket object
204198

205199
Here is an example of sending a socket. It will spawn two children and handle
206200
connections with the remote address `74.125.127.100` as VIP by sending the

0 commit comments

Comments
 (0)