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

Function annotate

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

Source from the content-addressed store, hash-verified

251 return isEntity(that) && this.type === that.type
252 },
253 annotate<I, S>(this: Entity<string, any>, key: Context.Key<I, S>, value: S) {
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 },

Callers

nothing calls this directly

Calls 2

fromRpcGroupFunction · 0.85
annotateMethod · 0.65

Tested by

no test coverage detected