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

Function annotateMerge

packages/effect/src/unstable/rpc/RpcGroup.ts:369–374  ·  view source on GitHub ↗
(this: RpcGroup<any>, context: Context.Context<any>)

Source from the content-addressed store, hash-verified

367 return this.annotateRpcsMerge(Context.make(service, value))
368 },
369 annotateMerge(this: RpcGroup<any>, context: Context.Context<any>) {
370 return makeProto({
371 requests: this.requests,
372 annotations: Context.merge(this.annotations, context)
373 })
374 },
375 annotateRpcsMerge(this: RpcGroup<any>, context: Context.Context<any>) {
376 const requests = new Map<string, any>()
377 for (const [tag, rpc] of this.requests) {

Callers

nothing calls this directly

Calls 2

mergeMethod · 0.80
makeProtoFunction · 0.70

Tested by

no test coverage detected