Module type Clock_intf.Clock_deprecated
Clock_deprecated
is used in Require_explicit_time_source
to create a clock module in which all functions are deprecated.
module Time : sig ... end
val run_at : Time.t -> ('a -> unit) -> 'a -> unit
val run_after : Time.Span.t -> ('a -> unit) -> 'a -> unit
val at : Time.t -> unit Deferred.t
val after : Time.Span.t -> unit Deferred.t
val with_timeout : Time.Span.t -> 'a Deferred.t -> [ `Timeout | `Result of 'a ] Deferred.t
module Event : sig ... end
val at_varying_intervals : ?stop:unit Deferred.t -> (unit -> Time.Span.t) -> unit Async_kernel__.Async_stream.t
val at_intervals : ?start:Time.t -> ?stop:unit Deferred.t -> Time.Span.t -> unit Async_kernel__.Async_stream.t
val every' : ?start:unit Deferred.t -> ?stop:unit Deferred.t -> ?continue_on_error:bool -> ?finished:unit Async_kernel.Ivar.t -> Time.Span.t -> (unit -> unit Deferred.t) -> unit
val every : ?start:unit Deferred.t -> ?stop:unit Deferred.t -> ?continue_on_error:bool -> Time.Span.t -> (unit -> unit) -> unit
val run_at_intervals' : ?start:Time.t -> ?stop:unit Deferred.t -> ?continue_on_error:bool -> Time.Span.t -> (unit -> unit Deferred.t) -> unit
val run_at_intervals : ?start:Time.t -> ?stop:unit Deferred.t -> ?continue_on_error:bool -> Time.Span.t -> (unit -> unit) -> unit