validateShardIds
validateShardIds(
shardIds,total):void
Defined in: packages/sharding/src/context.ts:37
Checks that shard IDs are unique integers in [0, total).
Parameters
Section titled “Parameters”shardIds
Section titled “shardIds”readonly number[]
number
Returns
Section titled “Returns”void
Throws
Section titled “Throws”Otherwise.