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

Function decodeJsonRpcSuccess

packages/effect/test/rpc/RpcSerialization.test.ts:23–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23const decodeJsonRpcSuccess = () =>
24 RpcSerialization.jsonRpc().makeUnsafe().decode("{\"jsonrpc\":\"2.0\",\"id\":1,\"result\":\"ok\"}")
25
26const expectedJsonRpcSuccess = [{
27 _tag: "Exit",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected