Module Opentelemetry_client_sync.Io_sync

Synchronous IOs, with threads for concurrency

Generic IO with spawn starting a background thread

include Opentelemetry_client.Generic_io.S_WITH_CONCURRENCY with type 'a t = 'a
include Opentelemetry_client.Generic_io.S with type 'a t = 'a
type 'a t = 'a
val return : 'a -> 'a t
val (let*) : 'a t -> ('a -> 'b t) -> 'b t
val protect : finally:(unit -> unit t) -> (unit -> 'a t) -> 'a t
val sleep_s : float -> unit t
val spawn : (unit -> unit t) -> unit