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

Function prefix

packages/rpc/src/Rpc.ts:584–594  ·  view source on GitHub ↗
(this: AnyWithProps, prefix: string)

Source from the content-addressed store, hash-verified

582 })
583 },
584 prefix(this: AnyWithProps, prefix: string) {
585 return makeProto({
586 _tag: `${prefix}${this._tag}`,
587 payloadSchema: this.payloadSchema,
588 successSchema: this.successSchema,
589 errorSchema: this.errorSchema,
590 defectSchema: this.defectSchema,
591 annotations: this.annotations,
592 middlewares: this.middlewares
593 })
594 },
595 annotate(this: AnyWithProps, tag: Context_.Tag<any, any>, value: any) {
596 return makeProto({
597 _tag: this._tag,

Callers

nothing calls this directly

Calls 1

makeProtoFunction · 0.70

Tested by

no test coverage detected