MCPcopy Create free account
hub / github.com/effect-app/libs / annotate

Method annotate

repos/effect/packages/effect/src/unstable/rpc/Rpc.ts:158–158  ·  view source on GitHub ↗

* Add an annotation on the rpc.

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

Source from the content-addressed store, hash-verified

156 * Add an annotation on the rpc.
157 */
158 annotate<I, S>(
159 tag: Context.Key<I, S>,
160 value: NoInfer<S>
161 ): Rpc<Tag, Payload, Success, Error, Middleware, Requires>

Callers 3

layerRpcHandlersFunction · 0.65
core.tsFile · 0.65
annotateFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected