0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Anna Henningsen e65bed1b7e
child_process: create proper public API for channel
Instead of exposing the C++ bindings object as `subprocess.channel`
or `process.channel`, provide the “control” object that was
previously used internally as the public-facing variant of it.

This should be better than returning the raw pipe object, and
matches the original intention (when the `channel` property was
first added) of providing a proper way to `.ref()` or `.unref()`
the channel.

PR-URL: https://github.com/nodejs/node/pull/30165
Refs: https://github.com/nodejs/node/pull/9322
Refs: https://github.com/nodejs/node/issues/9313
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-01-03 16:32:36 +01:00
..
addons.md doc: use code markup/markdown in headers in addons documentation 2019-12-26 21:36:59 -08:00
assert.md assert: implement assert.match() and assert.doesNotMatch() 2020-01-01 18:44:31 +01:00
async_hooks.md doc,async_hooks: use code markup/markdown in headers 2019-12-26 21:37:24 -08:00
buffer.md doc,buffer: use code markup/markdown in headers 2019-12-26 21:37:25 -08:00
child_process.md child_process: create proper public API for channel 2020-01-03 16:32:36 +01:00
cli.md module: unflag resolve self 2020-01-02 17:53:47 +01:00
cluster.md doc,cluster: use code markup/markdown in headers 2019-12-26 21:37:25 -08:00
console.md doc,console: use code markup/markdown in headers 2019-12-26 21:37:26 -08:00
crypto.md doc: fix createDiffieHellman generator type 2019-12-30 08:16:10 -08:00
debugger.md doc: add note about debugging worker_threads 2019-11-25 06:11:09 +01:00
deprecations.md doc: use code markup/markdown in headers in deprecations documentation 2019-12-26 21:39:09 -08:00
dgram.md doc,dgram: use code markup/markdown in headers 2019-12-26 21:39:23 -08:00
dns.md doc: improve dns introduction 2019-12-27 06:14:41 -08:00
documentation.md
domain.md doc,domain: use code markup/markdown in headers 2019-12-26 21:39:24 -08:00
errors.md esm: better error message for unsupported URL 2020-01-03 15:33:16 +01:00
esm.md doc: improve explanation of package.json "type" field 2020-01-03 01:42:40 +01:00
events.md doc,events: use code markup/markdown in headers 2019-12-26 21:39:25 -08:00
fs.md doc: update mode type for mkdir() functions 2019-12-29 07:32:23 -08:00
globals.md doc: use code markup/markdown in headers in globals documentation 2019-12-26 21:39:26 -08:00
http2.md doc,http2: use code markup/markdown in headers 2019-12-26 21:39:26 -08:00
http.md doc,http: use code markup/markdown in headers 2019-12-26 21:39:26 -08:00
https.md doc,https: use code markup/markdown in headers 2019-12-26 21:39:27 -08:00
index.md wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
inspector.md doc,inspector: use code markup/markdown in headers 2019-12-26 21:39:27 -08:00
intl.md
modules.md module: self resolve bug fix and esm ordering 2019-12-29 11:17:21 -05:00
n-api.md doc: explain napi_run_script 2019-12-16 11:18:23 +01:00
net.md doc,net: use code markup/markdown in headers 2019-12-26 21:39:28 -08:00
os.md doc,os: use code markup/markdown in headers 2019-12-26 21:39:28 -08:00
path.md doc,path: use code markup/markdown in headers 2019-12-26 21:39:29 -08:00
perf_hooks.md perf_hooks: move perf_hooks out of experimental 2020-01-01 18:48:13 +01:00
policy.md doc: remove dashes 2019-10-26 08:39:41 -07:00
process.md child_process: create proper public API for channel 2020-01-03 16:32:36 +01:00
punycode.md doc,punycode: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
querystring.md doc,querystring: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
readline.md doc,readline: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
repl.md doc,repl: use code markup/markdown in headers 2019-12-26 21:39:31 -08:00
report.md doc: remove dashes 2019-10-26 08:39:41 -07:00
stream.md stream: enable autoDestroy by default 2020-01-03 01:49:10 +01:00
string_decoder.md doc,string_decoder: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
synopsis.md
timers.md doc,timers: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
tls.md doc,tls: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
tracing.md doc: remove dashes 2019-10-26 08:39:41 -07:00
tty.md doc,tty: use code markup/markdown in headers 2019-12-26 21:39:33 -08:00
url.md doc,url: use code markup/markdown in headers 2019-12-26 21:39:33 -08:00
util.md doc,util: use code markup/markdown in headers 2019-12-26 21:39:34 -08:00
v8.md doc,v8: use code markup/markdown in headers 2019-12-26 21:39:34 -08:00
vm.md doc,vm: use code markup/markdown in headers 2019-12-26 21:39:35 -08:00
wasi.md doc,wasi: use code markup/markdown in headers 2019-12-26 21:39:35 -08:00
worker_threads.md doc,worker: use code markup/markdown in headers 2019-12-26 21:39:35 -08:00
zlib.md doc,zlib: use code markup/markdown in headers 2019-12-26 21:39:33 -08:00