summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-06 01:52:16 +0100
committerAnna Henningsen <anna@addaleax.net>2019-01-09 00:31:33 +0100
commit63d4cae009e114127e1a80644e4bffc019e2f4a7 (patch)
treec80a23e7afb130dd9053b86952eaca3722bc2fd5 /doc
parent8ec3c350f54933d9237c63dd17a9a24472fce591 (diff)
downloadandroid-node-v8-63d4cae009e114127e1a80644e4bffc019e2f4a7.tar.gz
android-node-v8-63d4cae009e114127e1a80644e4bffc019e2f4a7.tar.bz2
android-node-v8-63d4cae009e114127e1a80644e4bffc019e2f4a7.zip
worker: remove `--experimental-worker` flag
Having an experimental feature behind a flag makes change if we are expecting significant breaking changes to its API. Since the Worker API has been essentially stable since its initial introduction, and no noticeable doubt about possibly not keeping the feature around has been voiced, removing the flag and thereby reducing the barrier to experimentation, and consequently receiving feedback on the implementation, seems like a good idea. PR-URL: https://github.com/nodejs/node/pull/25361 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cli.md8
-rw-r--r--doc/api/worker_threads.md2
-rw-r--r--doc/node.13
3 files changed, 1 insertions, 12 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index eaad9c83e4..977a0fd1f5 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -104,13 +104,6 @@ added: v9.6.0
Enable experimental ES Module support in the `vm` module.
-### `--experimental-worker`
-<!-- YAML
-added: v10.5.0
--->
-
-Enable experimental worker threads using the `worker_threads` module.
-
### `--force-fips`
<!-- YAML
added: v6.0.0
@@ -620,7 +613,6 @@ Node.js options that are allowed are:
- `--experimental-modules`
- `--experimental-repl-await`
- `--experimental-vm-modules`
-- `--experimental-worker`
- `--force-fips`
- `--icu-data-dir`
- `--inspect`
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md
index d6c396d3ac..82fb46e017 100644
--- a/doc/api/worker_threads.md
+++ b/doc/api/worker_threads.md
@@ -6,7 +6,7 @@
The `worker` module provides a way to create multiple environments running
on independent threads, and to create message channels between them. It
-can be accessed using the `--experimental-worker` flag and:
+can be accessed using:
```js
const worker = require('worker_threads');
diff --git a/doc/node.1 b/doc/node.1
index 66933066bc..1ea88e21c0 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -94,9 +94,6 @@ keyword support in REPL.
.It Fl -experimental-vm-modules
Enable experimental ES module support in VM module.
.
-.It Fl -experimental-worker
-Enable experimental worker threads using worker_threads module.
-.
.It Fl -force-fips
Force FIPS-compliant crypto on startup
(Cannot be disabled from script code).