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

Method setSuccess

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

* Set the schema for the success response of the rpc.

(schema: S)

Source from the content-addressed store, hash-verified

94 * Set the schema for the success response of the rpc.
95 */
96 setSuccess<S extends Schema.Top>(schema: S): Rpc<
97 Tag,
98 Payload,
99 S,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected