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

Function waitForEntityManager

packages/effect/src/unstable/cluster/Sharding.ts:1644–1651  ·  view source on GitHub ↗
(entityType: string)

Source from the content-addressed store, hash-verified

1642 )
1643
1644 const waitForEntityManager = (entityType: string) => {
1645 let latch = entityManagerLatches.get(entityType)
1646 if (!latch) {
1647 latch = Latch.makeUnsafe()
1648 entityManagerLatches.set(entityType, latch)
1649 }
1650 return latch.await
1651 }
1652
1653 // --- Runner health checks ---
1654

Callers 2

sendLocalFunction · 0.85
notifyLocalFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected