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

Function waitForEntityManager

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

Source from the content-addressed store, hash-verified

1322 )
1323
1324 const waitForEntityManager = (entityType: string) => {
1325 let latch = entityManagerLatches.get(entityType)
1326 if (!latch) {
1327 latch = Effect.unsafeMakeLatch()
1328 entityManagerLatches.set(entityType, latch)
1329 }
1330 return latch.await
1331 }
1332
1333 // --- Runner health checks ---
1334

Callers 2

sendLocalFunction · 0.85
notifyLocalFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…