export interface ShardingManagerOptionsThe options to spawn shards with for a ShardingManager.
optionalexecArgv? : readonly string[]
Arguments to pass to the shard script executable when spawning
optionalmode? : ShardingManagerMode
Which mode to use for shards
optionalrespawn? : boolean
Whether shards should automatically respawn upon exiting
optionalshardArgs? : readonly string[]
Arguments to pass to the shard script when spawning
optionalshardList? : readonly number[] | 'auto'
List of shards to spawn or "auto"
optionalsilent? : boolean
Whether to pass the silent flag to child process (only available when mode is set to 'process')
optionaltoken? : string
Token to use for automatic shard count and passing to shards
optionaltotalShards? : number | 'auto'
Number of total shards of all shard managers or "auto"