MCPcopy Create free account
hub / github.com/Effect-TS/effect / isEntityOnLocalShards

Function isEntityOnLocalShards

packages/cluster/src/Sharding.ts:255–257  ·  view source on GitHub ↗
(address: EntityAddress)

Source from the content-addressed store, hash-verified

253 }
254
255 function isEntityOnLocalShards(address: EntityAddress): boolean {
256 return MutableHashSet.has(acquiredShards, address.shardId)
257 }
258
259 yield* Scope.addFinalizer(
260 shardingScope,

Callers 2

sendLocalFunction · 0.85
notifyLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected