Zum Inhalt springen

ShardAllocator

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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