Skip to content

ShardAllocator

ShardAllocator = (shardId, members) => NodeAddress

Defined in: src/cluster/sharding/ShardAllocator.ts:4

Strategy: given a shard id and the active member addresses, return the owner.

number

ReadonlyArray<NodeAddress>

NodeAddress