Skip to content

Commit 28e88f3

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>
1 parent f682852 commit 28e88f3

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
@@ -2400,6 +2400,21 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
24002400
If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used
24012401
with no performance impact since Node.js 10.
24022402
2403+
<a id="DEP0XXX"></a>
2404+
### DEP0XXX: ChildProcess._channel
2405+
<!-- YAML
2406+
changes:
2407+
- version: REPLACEME
2408+
pr-url: https://github.com/nodejs/node/pull/26982
2409+
description: Documentation-only.
2410+
-->
2411+
2412+
Type: Documentation-only
2413+
2414+
The `_channel` property of child process objects returned by `spawn()` and
2415+
similar functions is not intended for public use. Use `ChildProcess.channel`
2416+
instead.
2417+
24032418
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
24042419
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
24052420
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array

0 commit comments

Comments
 (0)