Skip to content

Commit a681dea

Browse files
PoojaDurgadBethGriggs
authored andcommitted
doc: add on statement in the APIs docs
PR-URL: #35610 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 1ec3b9d commit a681dea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/process.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,9 @@ And `process.argv`:
11771177
['/usr/local/bin/node', 'script.js', '--version']
11781178
```
11791179

1180+
Refer to [`Worker` constructor][] for the detailed behavior of worker
1181+
threads with this property.
1182+
11801183
## `process.execPath`
11811184
<!-- YAML
11821185
added: v0.1.100
@@ -2632,6 +2635,7 @@ cases:
26322635
[`NODE_OPTIONS`]: cli.md#cli_node_options_options
26332636
[`Promise.race()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race
26342637
[`Worker`]: worker_threads.md#worker_threads_class_worker
2638+
[`Worker` constructor]: worker_threads.md#worker_threads_new_worker_filename_options
26352639
[`console.error()`]: console.md#console_console_error_data_args
26362640
[`console.log()`]: console.md#console_console_log_data_args
26372641
[`domain`]: domain.md

0 commit comments

Comments
 (0)