File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,13 @@ added: v9.6.0
81
81
82
82
Enable experimental ES Module support in the ` vm ` module.
83
83
84
+ ### ` --experimental-worker `
85
+ <!-- YAML
86
+ added: v10.5.0
87
+ -->
88
+
89
+ Enable experimental worker threads using the ` worker_threads ` module.
90
+
84
91
### ` --force-fips `
85
92
<!-- YAML
86
93
added: v6.0.0
Original file line number Diff line number Diff line change 6
6
7
7
The ` worker ` module provides a way to create multiple environments running
8
8
on independent threads, and to create message channels between them. It
9
- can be accessed using:
9
+ can be accessed using the ` --experimental-worker ` flag and :
10
10
11
11
``` js
12
12
const worker = require (' worker_threads' );
Original file line number Diff line number Diff line change @@ -91,6 +91,9 @@ keyword support in REPL.
91
91
.It Fl -experimental-vm-modules
92
92
Enable experimental ES module support in VM module.
93
93
.
94
+ .It Fl -experimental-worker
95
+ Enable experimental worker threads using worker_threads module.
96
+ .
94
97
.It Fl -force-fips
95
98
Force FIPS-compliant crypto on startup
96
99
(Cannot be disabled from script code).
You can’t perform that action at this time.
0 commit comments