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

Function annotateMerge

packages/effect/src/unstable/httpapi/HttpApiGroup.ts:330–335  ·  view source on GitHub ↗
(this: Top, annotations: Context.Context<I>)

Source from the content-addressed store, hash-verified

328 })
329 },
330 annotateMerge<I>(this: Top, annotations: Context.Context<I>) {
331 return makeProto({
332 ...optionsFromGroup(this),
333 annotations: Context.merge(this.annotations, annotations)
334 })
335 },
336 annotate<I, S>(this: Top, annotation: Context.Key<I, S>, value: S) {
337 return makeProto({
338 ...optionsFromGroup(this),

Callers

nothing calls this directly

Calls 3

optionsFromGroupFunction · 0.85
mergeMethod · 0.80
makeProtoFunction · 0.70

Tested by

no test coverage detected