( reply: Reply.ReplyWithContext<R>, defect: unknown )
| 24 | const constVoid = constant(Effect.void) |
| 25 | |
| 26 | const serializeDefectReply = <R extends Rpc.Any>( |
| 27 | reply: Reply.ReplyWithContext<R>, |
| 28 | defect: unknown |
| 29 | ): Effect.Effect<Reply.ReplyEncoded<any>> => |
| 30 | Effect.orDie(Reply.serialize(Reply.ReplyWithContext.fromDefect({ |
| 31 | id: reply.reply.id, |
| 32 | requestId: reply.reply.requestId, |
| 33 | defect |
| 34 | }))) |
| 35 | |
| 36 | const serializeReply = <R extends Rpc.Any>( |
| 37 | reply: Reply.ReplyWithContext<R> |
no test coverage detected