Type Definitions
ClusterSpawnOptions
Spawns multiple internal shards.
Type:
Properties- Object
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
amount | number | string | <optional> | this.totalShards | Number of internal shards to spawn |
delay | number | <optional> | 7000 | How long to wait in between spawning each cluster (in milliseconds) |
tTimeout | number | <optional> | 30000 | The amount in milliseconds to wait until the Client has become ready before resolving. (-1 or Infinity for no wait) |
- Source