MCPcopy Index your code
hub / github.com/Effect-TS/effect / annotateContext

Function annotateContext

packages/platform/src/HttpApiEndpoint.ts:822–827  ·  view source on GitHub ↗
(this: HttpApiEndpoint.AnyWithProps, context: Context.Context<any>)

Source from the content-addressed store, hash-verified

820 })
821 },
822 annotateContext(this: HttpApiEndpoint.AnyWithProps, context: Context.Context<any>) {
823 return makeProto({
824 ...this,
825 annotations: Context.merge(this.annotations, context)
826 })
827 }
828}
829
830const makeProto = <

Callers

nothing calls this directly

Calls 2

mergeMethod · 0.80
makeProtoFunction · 0.70

Tested by

no test coverage detected