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

Function annotateRpcsContext

packages/cluster/src/Entity.ts:228–230  ·  view source on GitHub ↗
(this: Entity<string, any>, context: Context.Context<S>)

Source from the content-addressed store, hash-verified

226 return fromRpcGroup(this.type, this.protocol.annotateContext(context))
227 },
228 annotateRpcsContext<S>(this: Entity<string, any>, context: Context.Context<S>) {
229 return fromRpcGroup(this.type, this.protocol.annotateRpcsContext(context))
230 },
231 getShardId(this: Entity<string, any>, entityId: EntityId) {
232 return Effect.map(shardingTag, (sharding) => sharding.getShardId(entityId, this.getShardGroup(entityId)))
233 },

Callers

nothing calls this directly

Calls 2

fromRpcGroupFunction · 0.85
annotateRpcsContextMethod · 0.65

Tested by

no test coverage detected