From 28e88f3d76a4d5974d52e8203afeed76ffe18caa Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 29 Mar 2019 10:36:57 -0400 Subject: [PATCH] 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 Reviewed-By: Ruben Bridgewater Reviewed-By: Sam Roberts --- doc/api/deprecations.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b23ee43ba53c87..2b6384edb17197 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2400,6 +2400,21 @@ Please use the publicly documented [`timeout.refresh()`][] instead. If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used with no performance impact since Node.js 10. + +### DEP0XXX: ChildProcess._channel + + +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