Module Opentelemetry_client_lwt.Util_ticker

val start_ticker_thread : ?finally:(unit -> unit) -> stop:bool Opentelemetry_atomic.Atomic.t -> frequency_s:float -> tick:(unit -> unit) -> unit -> unit

Lwt task that calls tick() regularly, to help enforce timeouts.

  • parameter frequency_s

    how often in seconds does the tick tock?