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

Function annotateRpcsMerge

packages/effect/src/unstable/cluster/Entity.ts:262–264  ·  view source on GitHub ↗
(this: Entity<string, any>, annotations: Context.Context<S>)

Source from the content-addressed store, hash-verified

260 return fromRpcGroup(this.type, this.protocol.annotateMerge(annotations))
261 },
262 annotateRpcsMerge<S>(this: Entity<string, any>, annotations: Context.Context<S>) {
263 return fromRpcGroup(this.type, this.protocol.annotateRpcsMerge(annotations))
264 },
265 getShardId(this: Entity<string, any>, entityId: EntityId) {
266 return Effect.map(shardingTag, (sharding) => sharding.getShardId(entityId, this.getShardGroup(entityId)))
267 },

Callers

nothing calls this directly

Calls 2

fromRpcGroupFunction · 0.85
annotateRpcsMergeMethod · 0.65

Tested by

no test coverage detected