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

Method setPayload

packages/rpc/src/Rpc.ts:90–90  ·  view source on GitHub ↗

* Set the schema for the payload of the rpc.

(
    schema: P
  )

Source from the content-addressed store, hash-verified

88 * Set the schema for the payload of the rpc.
89 */
90 setPayload<P extends Schema.Struct<any> | Schema.Struct.Fields>(
91 schema: P
92 ): Rpc<
93 Tag,

Callers 2

toHttpApiGroupFunction · 0.65
toHttpApiGroupFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected