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

Method setPayload

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

* Set the schema for the payload of the rpc.

(
    schema: P
  )

Source from the content-addressed store, hash-verified

118 * Set the schema for the payload of the rpc.
119 */
120 setPayload<P extends Schema.Top | Schema.Struct.Fields>(
121 schema: P
122 ): Rpc<
123 Tag,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected