(config: ApiConfig)
| 85 | ) |
| 86 | |
| 87 | export const RpcSerializationLayer = (config: ApiConfig) => |
| 88 | Layer.mergeAll( |
| 89 | RpcSerialization.layerNdjson, |
| 90 | HttpClientLayer(config) |
| 91 | ) |
| 92 | |
| 93 | type RpcHandlers<M extends RequestsAny> = { |
| 94 | [K in keyof M]: Rpc.Rpc<M[K]["_tag"], M[K], M[K]["success"], M[K]["error"]> |
no test coverage detected
searching dependent graphs…