Skip to content

Commit 2396743

Browse files
cjihrigBethGriggs
authored andcommitted
child_process: doc deprecate ChildProcess._channel
This was eligible to begin deprecation in Node 8. PR-URL: #26982 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
1 parent b64b223 commit 2396743

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/deprecations.md

+15
Original file line numberDiff line numberDiff line change
@@ -2299,6 +2299,21 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
22992299
If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used
23002300
with no performance impact since Node.js 10.
23012301
2302+
<a id="DEP0XXX"></a>
2303+
### DEP0XXX: ChildProcess._channel
2304+
<!-- YAML
2305+
changes:
2306+
- version: REPLACEME
2307+
pr-url: https://github.com/nodejs/node/pull/26982
2308+
description: Documentation-only.
2309+
-->
2310+
2311+
Type: Documentation-only
2312+
2313+
The `_channel` property of child process objects returned by `spawn()` and
2314+
similar functions is not intended for public use. Use `ChildProcess.channel`
2315+
instead.
2316+
23022317
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
23032318
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
23042319
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array

0 commit comments

Comments
 (0)