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

Function ResponseDefectEncoded

packages/effect/src/unstable/rpc/RpcMessage.ts:358–361  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

356 * @since 4.0.0
357 */
358export const ResponseDefectEncoded = (input: unknown): ResponseDefectEncoded => ({
359 _tag: "Defect",
360 defect: encodeDefect(input)
361})
362
363/**
364 * The decoded server defect message for a client connection.

Callers 3

sendDefectFunction · 0.90
RpcServer.tsFile · 0.90
writeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected