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
optionalShardingManagerMode mode? :
Which mode to use for shards
optionalboolean respawn? :
Whether shards should automatically respawn upon exiting
optionalreadonly string[] shardArgs? :
Arguments to pass to the shard script when spawning
optionalreadonly number[] | 'auto' shardList? :
List of shards to spawn or "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"