child_process: doc deprecate ChildProcess._channel

This was eligible to begin deprecation in Node 8.

PR-URL: https://github.com/nodejs/node/pull/26982
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
pull/26982/head
cjihrig 2019-03-29 10:36:57 -04:00
parent d379e453e2
commit 9b70a5c3f1
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
1 changed files with 15 additions and 0 deletions

View File

@ -2416,6 +2416,21 @@ also have an `index.js` file in the top level directory will resolve the
`index.js` file. That is deprecated and is going to throw an error in future
Node.js versions.
<a id="DEP0XXX"></a>
### DEP0XXX: ChildProcess._channel
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/26982
description: Documentation-only.
-->
Type: Documentation-only
The `_channel` property of child process objects returned by `spawn()` and
similar functions is not intended for public use. Use `ChildProcess.channel`
instead.
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array