mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
docs(ShardingManager): remove experimental status of Worker threads (#4157)
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user