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

Function annotateRpcs

packages/effect/src/unstable/cluster/Entity.ts:256–258  ·  view source on GitHub ↗
(this: Entity<string, any>, key: Context.Key<I, S>, value: S)

Source from the content-addressed store, hash-verified

254 return fromRpcGroup(this.type, this.protocol.annotate(key, value))
255 },
256 annotateRpcs<I, S>(this: Entity<string, any>, key: Context.Key<I, S>, value: S) {
257 return fromRpcGroup(this.type, this.protocol.annotateRpcs(key, value))
258 },
259 annotateMerge<S>(this: Entity<string, any>, annotations: Context.Context<S>) {
260 return fromRpcGroup(this.type, this.protocol.annotateMerge(annotations))
261 },

Callers

nothing calls this directly

Calls 2

fromRpcGroupFunction · 0.85
annotateRpcsMethod · 0.65

Tested by

no test coverage detected