summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPooja D.P <Pooja.D.P@ibm.com>2020-10-12 12:50:42 +0400
committerGireesh Punathil <gpunathi@in.ibm.com>2020-10-31 17:08:17 +0530
commit1139a4af88880ce1b61a404012f2ff6c6b1c1851 (patch)
tree0321e1374b2971d8d2d86c22e5f8fa0c60c29d71
parent915a94cf63cbf64be027cb518fa645a31a09f018 (diff)
downloadnode-new-1139a4af88880ce1b61a404012f2ff6c6b1c1851.tar.gz
doc: add on statement in the APIs docs
PR-URL: https://github.com/nodejs/node/pull/35610 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
-rw-r--r--doc/api/process.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index 943bc1d301..e9472c66b0 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -1179,6 +1179,9 @@ And `process.argv`:
['/usr/local/bin/node', 'script.js', '--version']
```
+Refer to [`Worker` constructor][] for the detailed behavior of worker
+threads with this property.
+
## `process.execPath`
<!-- YAML
added: v0.1.100
@@ -2654,6 +2657,7 @@ cases:
[`NODE_OPTIONS`]: cli.md#cli_node_options_options
[`Promise.race()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race
[`Worker`]: worker_threads.md#worker_threads_class_worker
+[`Worker` constructor]: worker_threads.md#worker_threads_new_worker_filename_options
[`console.error()`]: console.md#console_console_error_data_args
[`console.log()`]: console.md#console_console_log_data_args
[`domain`]: domain.md