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

Function annotateMerge

packages/effect/src/unstable/httpapi/HttpApiEndpoint.ts:817–822  ·  view source on GitHub ↗
(this: Top, annotations: Context.Context<any>)

Source from the content-addressed store, hash-verified

815 })
816 },
817 annotateMerge(this: Top, annotations: Context.Context<any>) {
818 return makeProto({
819 ...optionsFromEndpoint(this),
820 annotations: Context.merge(this.annotations, annotations)
821 })
822 }
823}
824
825const optionsFromEndpoint = (endpoint: Top) => ({

Callers

nothing calls this directly

Calls 3

optionsFromEndpointFunction · 0.85
mergeMethod · 0.80
makeProtoFunction · 0.70

Tested by

no test coverage detected