Type Definitions

ClusterSpawnOptions

Spawns multiple internal shards.

Type:
  • Object
Properties
NameTypeAttributesDefaultDescription
amountnumber | string<optional>
this.totalShards

Number of internal shards to spawn

delaynumber<optional>
7000

How long to wait in between spawning each cluster (in milliseconds)

tTimeoutnumber<optional>
30000

The amount in milliseconds to wait until the Client has become ready before resolving. (-1 or Infinity for no wait)