package dune-rpc

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Make.ChanSource

Sourcetype t = {
  1. read : unit -> Stdune.Sexp.t option Fiber.t;
  2. closed_read : bool;
  3. mutable closed_write : bool;
  4. disconnected : unit Fiber.Ivar.t;
  5. chan : Chan.t;
}
Sourceval of_chan : Chan.t -> t
Sourceval close : t -> unit Fiber.t
Sourceval write : t -> Dune_rpc_private__.Types.Packet.t list -> unit Fiber.t
Sourceval read : t -> Stdune.Sexp.t option Fiber.t