package uwt

  1. Overview
  2. Docs
type t
val close : t -> Int_result.unit
val close_noerr : t -> unit
val close_wait : t -> unit Lwt.t
val is_active : t -> bool
val ref' : t -> unit
val unref : t -> unit
val has_ref : t -> bool
val fileno : t -> Unix.file_descr uv_result
val fileno_exn : t -> Unix.file_descr
val to_handle : t -> Handle.t
type event =
  1. | Readable
  2. | Writable
  3. | Disconnect
  4. | Prioritized
val start : Unix.file_descr -> event list -> cb:(t -> event list uv_result -> unit) -> t uv_result
val start_exn : Unix.file_descr -> event list -> cb:(t -> event list uv_result -> unit) -> t
val update_events : t -> event list -> Int_result.unit
val update_events_exn : t -> event list -> unit
OCaml

Innovation. Community. Security.