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

Method annotate

packages/effect/src/rpc/Rpc.ts:164–164  ·  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

162 * Add an annotation on the rpc.
163 */
164 annotate<I, S>(
165 tag: Context.Key<I, S>,
166 value: NoInfer<S>
167 ): Rpc<Tag, Payload, Success, Error, Middleware, Requires>

Calls

no outgoing calls

Tested by 5

eventFunction · 0.52
cronProbeFunction · 0.52
decodeFunction · 0.52
ModFunction · 0.52
exampleFunction · 0.52