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

Function waitForEntityManager

packages/cluster/src/Sharding.ts:1602–1609  ·  view source on GitHub ↗
(entityType: string)

Source from the content-addressed store, hash-verified

1600 )
1601
1602 const waitForEntityManager = (entityType: string) => {
1603 let latch = entityManagerLatches.get(entityType)
1604 if (!latch) {
1605 latch = Effect.unsafeMakeLatch()
1606 entityManagerLatches.set(entityType, latch)
1607 }
1608 return latch.await
1609 }
1610
1611 // --- Runner health checks ---
1612

Callers 2

sendLocalFunction · 0.85
notifyLocalFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected