(entityId: EntityId, group: string)
| 232 | Option.isSome(config.runnerAddress) && Equal.equals(address, config.runnerAddress.value) |
| 233 | |
| 234 | function getShardId(entityId: EntityId, group: string): ShardId { |
| 235 | const id = Math.abs(hashString(entityId) % config.shardsPerGroup) + 1 |
| 236 | return makeShardId(group, id) |
| 237 | } |
| 238 | |
| 239 | function isEntityOnLocalShards(address: EntityAddress): boolean { |
| 240 | return MutableHashSet.has(acquiredShards, address.shardId) |
no test coverage detected
searching dependent graphs…