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

Function annotate

packages/effect/src/unstable/rpc/RpcGroup.ts:360–365  ·  view source on GitHub ↗
(this: RpcGroup<any>, service: Context.Key<any, any>, value: any)

Source from the content-addressed store, hash-verified

358 })
359 },
360 annotate(this: RpcGroup<any>, service: Context.Key<any, any>, value: any) {
361 return makeProto({
362 requests: this.requests,
363 annotations: Context.add(this.annotations, service, value)
364 })
365 },
366 annotateRpcs(this: RpcGroup<any>, service: Context.Key<any, any>, value: any) {
367 return this.annotateRpcsMerge(Context.make(service, value))
368 },

Callers

nothing calls this directly

Calls 2

makeProtoFunction · 0.70
addMethod · 0.65

Tested by

no test coverage detected