MCPcopy Index your code
hub / github.com/Effect-TS/effect / isEntityOnLocalShards

Function isEntityOnLocalShards

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

Source from the content-addressed store, hash-verified

237 }
238
239 function isEntityOnLocalShards(address: EntityAddress): boolean {
240 return MutableHashSet.has(acquiredShards, address.shardId)
241 }
242
243 yield* Scope.addFinalizer(
244 shardingScope,

Callers 2

sendLocalFunction · 0.85
notifyLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…