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

Function client

packages/effect/src/unstable/cluster/Entity.ts:268–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 return Effect.map(shardingTag, (sharding) => sharding.getShardId(entityId, this.getShardGroup(entityId)))
267 },
268 get client() {
269 return shardingTag.pipe(
270 Effect.flatMap((sharding) => sharding.makeClient(this as any))
271 )
272 },
273 toLayer<
274 Rpcs extends Rpc.Any,
275 Handlers extends HandlersFrom<Rpcs>,

Callers 15

Client.test.tsFile · 0.85
Client.test.tsFile · 0.85
queryFailureReasonFunction · 0.85
Client.test.tsFile · 0.85
queryFailureReasonFunction · 0.85
queryFailureReasonFunction · 0.85
queryFailureReasonTagFunction · 0.85
Entity.test.tsFile · 0.85
Residency.test.tsFile · 0.85
Smoke.test.tsFile · 0.85

Calls 1

pipeMethod · 0.65

Tested by 4

queryFailureReasonFunction · 0.68
queryFailureReasonFunction · 0.68
queryFailureReasonFunction · 0.68
queryFailureReasonTagFunction · 0.68