Preview environment

interface MultipleShardSpawnOptions

export interface MultipleShardSpawnOptions

Options used to spawn multiple shards.

optional
amount? : number | 'auto'

Number of shards to spawn (default: this.totalShards)

optional
delay? : number

How long to wait in between spawning each shard (in milliseconds) (default: 5500)

optional
timeout? : number

The amount in milliseconds to wait until the Client has become ready (default: 30000)