Module Background.Clock

val every' : ?⁠start:unit Async.Deferred.t -> ?⁠stop:unit Async.Deferred.t -> ?⁠continue_on_error:bool -> ?⁠finished:unit Async.Ivar.t -> Core_kernel.Source_code_position.t -> Core_kernel.Time.Span.t -> (unit -> unit Async.Deferred.t) -> unit

every' is like Async.Clock.every', except that it marks the repeating jobs as background jobs.

val every : ?⁠start:unit Async.Deferred.t -> ?⁠stop:unit Async.Deferred.t -> ?⁠continue_on_error:bool -> Core_kernel.Source_code_position.t -> Core_kernel.Time.Span.t -> (unit -> unit) -> unit

every is like Async.Clock.every, except that it marks the repeating jobs as background jobs.