child_process: doc deprecate ChildProcess._channel · nodejs/node@2396743 (original) (raw)

Original file line number Diff line number Diff line change
@@ -2299,6 +2299,21 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
2299 2299 If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used
2300 2300 with no performance impact since Node.js 10.
2301 2301
2302 +
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 +
2302 2317 [`--pending-deprecation`]: cli.html#cli_pending_deprecation
2303 2318 [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
2304 2319 [`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array