Opentelemetry_client.Bounded_queueInterface for a thread-safe, bounded queue.
After the high watermark is reached, pushing items into the queue will instead discard them.
module Common : sig ... endmodule Recv : sig ... endReceiving side
module Send : sig ... endSending side
A bounded queue, with multiple producers and potentially multiple consumers.
All functions must be thread-safe except for try_pop which might not have to be depending on the context (e.g. a Lwt-specific queue implementation will consume only from the Lwt thread).
module Defaults : sig ... end