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

Function annotateMerge

packages/effect/src/unstable/httpapi/HttpApi.ts:190–195  ·  view source on GitHub ↗
(this: Top, annotations: Context.Context<never>)

Source from the content-addressed store, hash-verified

188 })
189 },
190 annotateMerge(this: Top, annotations: Context.Context<never>) {
191 return makeProto({
192 ...optionsFromApi(this),
193 annotations: Context.merge(this.annotations, annotations)
194 })
195 }
196}
197
198const optionsFromApi = (api: Top) => ({

Callers

nothing calls this directly

Calls 3

optionsFromApiFunction · 0.85
mergeMethod · 0.80
makeProtoFunction · 0.70

Tested by

no test coverage detected