mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13: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 {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user