diff --git a/opentelemetry/Opentelemetry_client/Batch/index.html b/opentelemetry/Opentelemetry_client/Batch/index.html index 27867962..8c801ea2 100644 --- a/opentelemetry/Opentelemetry_client/Batch/index.html +++ b/opentelemetry/Opentelemetry_client/Batch/index.html @@ -5,4 +5,4 @@ ?now:Mtime.t -> ?timeout:Mtime.span -> unit -> - 'a t

make () is a new batch

val pop_if_ready : ?force:bool -> now:Mtime.t -> 'a t -> 'a list option

pop_if_ready ~now b is Some xs, where is xs includes all the elements pushed since the last batch, if the batch ready to be emitted.

A batch is ready to pop if it contains some elements and

val push : 'a t -> 'a list -> [ `Dropped | `Ok ]

push b xs is `Ok if it succeeds in pushing the values in xs into the batch b, or `Dropped if the current size of the batch has exceeded the high water mark determined by the batch argument to make]. )

+ 'a t

make () is a new batch

val pop_if_ready : ?force:bool -> now:Mtime.t -> 'a t -> 'a list option

pop_if_ready ~now b is Some xs, where is xs includes all the elements pushed since the last batch, if the batch ready to be emitted.

A batch is ready to pop if it contains some elements and

val push : 'a t -> 'a list -> [ `Dropped | `Ok ]

push b xs is `Ok if it succeeds in pushing the values in xs into the batch b, or `Dropped if the current size of the batch has exceeded the high water mark determined by the batch argument to {!make}. )