export interface ShardingManagerOptions
The options to spawn shards with for a ShardingManager.
optionalreadonly string[] execArgv? :
Arguments to pass to the shard script executable when spawning (default: [])
optionalShardingManagerMode mode? :
Which mode to use for shards (default: 'process')
optionalboolean respawn? :
Whether shards should automatically respawn upon exiting (default: true)
optionalreadonly string[] shardArgs? :
Arguments to pass to the shard script when spawning (default: [])
optionalreadonly number[] | 'auto' shardList? :
List of shards to spawn or "auto" (default: 'auto')
optionalboolean silent? :
Whether to pass the silent flag to child process (only available when mode is set to 'process')
optionalstring token? :
Token to use for automatic shard count and passing to shards
optionalnumber | 'auto' totalShards? :
Number of total shards of all shard managers or "auto" (default: 'auto')