package async_extra

  1. Overview
  2. Docs
type t =
  1. | Closed
  2. | Stopped
include sig ... end
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> int
val of_fd_interruptible_every_ready_to_result_exn : (_, _) Core.Iobuf.t option -> string -> 'a -> ('a -> Async_unix.Sexp.t) -> [ `Bad_fd | `Closed | `Unsupported | `Interrupted ] -> t

As the name implies, this is useful for other modules that want to compatibly convert the result of Fd.interruptible_ready_to to a loop result or exception.

OCaml

Innovation. Community. Security.