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

Method annotate

packages/effect/src/unstable/httpapi/HttpApi.ts:109–109  ·  view source on GitHub ↗

* Annotate the `HttpApi`.

(tag: Context.Key<I, S>, value: S)

Source from the content-addressed store, hash-verified

107 * Annotate the `HttpApi`.
108 */
109 annotate<I, S>(tag: Context.Key<I, S>, value: S): HttpApi<Id, Groups>
110
111 /**
112 * Annotate the `HttpApi` with a Context.

Callers 9

statusFunction · 0.65
encodeToWithHeadersFunction · 0.65
asMultipartFunction · 0.65
asMultipartStreamFunction · 0.65
asNonMultipartEncodingFunction · 0.65
OpenApi.tsFile · 0.65
Multipart.tsFile · 0.65
schemaJsonFunction · 0.65
schemaNoBodyFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected