package riot

  1. Overview
  2. Docs
module Timer : sig ... end
type t
val create : unit -> t
val make_timer : t -> float -> [ `interval | `one_off ] -> (unit -> unit) -> unit Core.Ref.t
val ends_at : Ptime.t -> Ptime.span -> Ptime.t
val tick : t -> unit
OCaml

Innovation. Community. Security.