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

Function annotate

packages/platform/src/HttpApiEndpoint.ts:816–821  ·  view source on GitHub ↗
(this: HttpApiEndpoint.AnyWithProps, tag: Context.Tag<any, any>, value: any)

Source from the content-addressed store, hash-verified

814 })
815 },
816 annotate(this: HttpApiEndpoint.AnyWithProps, tag: Context.Tag<any, any>, value: any) {
817 return makeProto({
818 ...this,
819 annotations: Context.add(this.annotations, tag, value)
820 })
821 },
822 annotateContext(this: HttpApiEndpoint.AnyWithProps, context: Context.Context<any>) {
823 return makeProto({
824 ...this,

Callers

nothing calls this directly

Calls 2

makeProtoFunction · 0.70
addMethod · 0.65

Tested by

no test coverage detected