ocaml-opentelemetry/src/client/generic_notifier.ml
Simon Cruanes ae92077389
more docs
2026-01-20 00:15:29 -05:00

19 lines
330 B
OCaml

(** Generic notifier (used to signal when a bounded queue is empty) *)
module type IO = Generic_io.S
module type S = sig
module IO : IO
type t
val create : unit -> t
val delete : t -> unit
val trigger : t -> unit
val wait : t -> unit IO.t
val register_bounded_queue : t -> _ Bounded_queue.Recv.t -> unit
end