docs(ShardingManager): remove experimental status of Worker threads (#4157)

This commit is contained in:
Alexander Kashev
2020-05-04 13:08:52 +02:00
committed by GitHub
parent ec0227a476
commit 99612ba14d

View File

@@ -20,9 +20,7 @@ const Util = require('../util/Util');
class ShardingManager extends EventEmitter {
/**
* The mode to spawn shards with for a {@link ShardingManager}: either "process" to use child processes, or
* "worker" to use workers. The "worker" mode relies on the experimental
* [Worker threads](https://nodejs.org/api/worker_threads.html) functionality that is present in Node v10.5.0 or
* newer. Node must be started with the `--experimental-worker` flag to expose it.
* "worker" to use [Worker threads][Worker threads](https://nodejs.org/api/worker_threads.html).
* @typedef {Object} ShardingManagerMode
*/