Skip to content

Commit 0940e1c

Browse files
committed
doc: add on statement in the APIs docs
1 parent b18651b commit 0940e1c

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
@@ -1179,6 +1179,9 @@ And `process.argv`:
11791179
['/usr/local/bin/node', 'script.js', '--version']
11801180
```
11811181

1182+
Refer to [`Worker` constructor][] for the detailed behavior of worker
1183+
threads with this property.
1184+
11821185
## `process.execPath`
11831186
<!-- YAML
11841187
added: v0.1.100
@@ -2643,6 +2646,7 @@ cases:
26432646
[`NODE_OPTIONS`]: cli.md#cli_node_options_options
26442647
[`Promise.race()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race
26452648
[`Worker`]: worker_threads.md#worker_threads_class_worker
2649+
[`Worker` constructor]: worker_threads.md#worker_threads_new_worker_filename_options
26462650
[`console.error()`]: console.md#console_console_error_data_args
26472651
[`console.log()`]: console.md#console_console_log_data_args
26482652
[`domain`]: domain.md

0 commit comments

Comments
 (0)