package lwt

  1. Overview
  2. Docs
type t
val create : unit -> t
val is_on : t -> bool
val turn_off : t -> unit Lwt.t
exception Off
val check : t option -> unit
val add_hook : t option -> (unit -> unit Lwt.t) -> unit
val add_hook_or_exec : t option -> (unit -> unit Lwt.t) -> unit Lwt.t
OCaml

Innovation. Community. Security.