mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 12:40:50 +00:00
docs(ShardingManager): remove experimental status of Worker threads (#4157)
This commit is contained in:
parent
ec0227a476
commit
99612ba14d
1 changed files with 1 additions and 3 deletions
|
|
@ -20,9 +20,7 @@ const Util = require('../util/Util');
|
||||||
class ShardingManager extends EventEmitter {
|
class ShardingManager extends EventEmitter {
|
||||||
/**
|
/**
|
||||||
* The mode to spawn shards with for a {@link ShardingManager}: either "process" to use child processes, or
|
* 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" to use [Worker threads][Worker threads](https://nodejs.org/api/worker_threads.html).
|
||||||
* [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.
|
|
||||||
* @typedef {Object} ShardingManagerMode
|
* @typedef {Object} ShardingManagerMode
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue