(address: RunnerAddress)
| 245 | const getRegistrationEvents: Stream.Stream<ShardingRegistrationEvent> = Stream.fromPubSub(events) |
| 246 | |
| 247 | const isLocalRunner = (address: RunnerAddress) => |
| 248 | Option.isSome(config.runnerAddress) && Equal.equals(address, config.runnerAddress.value) |
| 249 | |
| 250 | function getShardId(entityId: EntityId, group: string): ShardId { |
| 251 | const id = Math.abs(hashString(entityId) % config.shardsPerGroup) + 1 |
no outgoing calls
no test coverage detected