dune-rpc.private
Make.Chan
dune-rpc
type t = {
read : unit -> Stdune.Sexp.t option Fiber.t;
closed_read : bool;
mutable closed_write : bool;
disconnected : unit Fiber.Ivar.t;
chan : Chan.t;
}
val of_chan : Chan.t -> t
val close : t -> unit Fiber.t
val write : t -> Dune_rpc_private__.Types.Packet.t list -> unit Fiber.t
val read : t -> Stdune.Sexp.t option Fiber.t