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

Method annotate

packages/effect/src/unstable/rpc/Rpc.ts:194–200  ·  view source on GitHub ↗
(
    tag: Context.Key<I, S>,
    value: NoInfer<S>
  )

Source from the content-addressed store, hash-verified

192 this.annotations = Context.empty()
193 }
194 annotate<I, S>(
195 tag: Context.Key<I, S>,
196 value: NoInfer<S>
197 ): ServerClient {
198 this.annotations = Context.add(this.annotations, tag, value)
199 return this
200 }
201}
202
203/**

Callers

nothing calls this directly

Calls 1

addMethod · 0.65

Tested by

no test coverage detected