@@ -412,6 +412,8 @@ added: v0.7.0
412412The ` process.abort() ` method causes the Node.js process to exit immediately and
413413generate a core file.
414414
415+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
416+
415417## process.arch
416418<!-- YAML
417419added: v0.5.0
@@ -515,6 +517,8 @@ try {
515517}
516518```
517519
520+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
521+
518522## process.config
519523<!-- YAML
520524added: v0.7.7
@@ -901,6 +905,8 @@ console.log(process.env.test);
901905// => 1
902906```
903907
908+ * Note* : ` process.env ` is read-only in [ ` Worker ` ] [ ] threads.
909+
904910## process.execArgv
905911<!-- YAML
906912added: v0.7.7
@@ -1018,6 +1024,9 @@ If it is necessary to terminate the Node.js process due to an error condition,
10181024throwing an * uncaught* error and allowing the process to terminate accordingly
10191025is safer than calling ` process.exit() ` .
10201026
1027+ * Note* : in [ ` Worker ` ] [ ] threads, this function stops the current thread rather than
1028+ the current process.
1029+
10211030## process.exitCode
10221031<!-- YAML
10231032added: v0.11.8
@@ -1185,6 +1194,8 @@ console.log(process.getgroups()); // [ 27, 30, 46, 1000 ]
11851194* Note* : This function is only available on POSIX platforms (i.e. not Windows
11861195or Android).
11871196
1197+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1198+
11881199## process.kill(pid[ , signal] )
11891200<!-- YAML
11901201added: v0.0.6
@@ -1502,6 +1513,7 @@ if (process.getegid && process.setegid) {
15021513* Note* : This function is only available on POSIX platforms (i.e. not Windows
15031514or Android).
15041515
1516+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
15051517
15061518## process.seteuid(id)
15071519<!-- YAML
@@ -1530,6 +1542,8 @@ if (process.geteuid && process.seteuid) {
15301542* Note* : This function is only available on POSIX platforms (i.e. not Windows
15311543or Android).
15321544
1545+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1546+
15331547## process.setgid(id)
15341548<!-- YAML
15351549added: v0.1.31
@@ -1557,6 +1571,8 @@ if (process.getgid && process.setgid) {
15571571* Note* : This function is only available on POSIX platforms (i.e. not Windows
15581572or Android).
15591573
1574+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1575+
15601576## process.setgroups(groups)
15611577<!-- YAML
15621578added: v0.9.4
@@ -1573,6 +1589,8 @@ The `groups` array can contain numeric group IDs, group names or both.
15731589* Note* : This function is only available on POSIX platforms (i.e. not Windows
15741590or Android).
15751591
1592+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1593+
15761594## process.setuid(id)
15771595<!-- YAML
15781596added: v0.1.28
@@ -1598,6 +1616,8 @@ if (process.getuid && process.setuid) {
15981616* Note* : This function is only available on POSIX platforms (i.e. not Windows
15991617or Android).
16001618
1619+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1620+
16011621
16021622## process.stderr
16031623
@@ -1611,6 +1631,8 @@ a [Writable][] stream.
16111631* Note* : ` process.stderr ` differs from other Node.js streams in important ways,
16121632see [ note on process I/O] [ ] for more information.
16131633
1634+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1635+
16141636## process.stdin
16151637
16161638* {Stream}
@@ -1645,6 +1667,8 @@ For more information see [Stream compatibility][].
16451667must call ` process.stdin.resume() ` to read from it. Note also that calling
16461668` process.stdin.resume() ` itself would switch stream to "old" mode.
16471669
1670+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1671+
16481672## process.stdout
16491673
16501674* {Stream}
@@ -1663,6 +1687,8 @@ process.stdin.pipe(process.stdout);
16631687* Note* : ` process.stdout ` differs from other Node.js streams in important ways,
16641688see [ note on process I/O] [ ] for more information.
16651689
1690+ * Note* : This feature is not available in [ ` Worker ` ] [ ] threads.
1691+
16661692### A note on process I/O
16671693
16681694` process.stdout ` and ` process.stderr ` differ from other Node.js streams in
@@ -1894,6 +1920,7 @@ cases:
18941920[ `require.main` ] : modules.html#modules_accessing_the_main_module
18951921[ `require.resolve()` ] : globals.html#globals_require_resolve
18961922[ `setTimeout(fn, 0)` ] : timers.html#timers_settimeout_callback_delay_args
1923+ [ `Worker` ] : worker.html#worker_worker
18971924[ Child Process ] : child_process.html
18981925[ Cluster ] : cluster.html
18991926[ Duplex ] : stream.html#stream_duplex_and_transform_streams
0 commit comments