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 to_handle : t -> Handle.t
type report = {
  1. prev : Fs.stats;
  2. curr : Fs.stats;
}
val start : string -> int -> cb:(t -> report uv_result -> unit) -> t uv_result
val start_exn : string -> int -> cb:(t -> report uv_result -> unit) -> t