prom-utils
Advanced tools
Changelog
0.4.0
batchBytes
option to batchQueue
which triggers a queue flush if the total size of
the queue is greater than or equal to batchBytes
.Changelog
0.2.0
batchQueue
now accepts an option object which includes batchSize
and timeout
.timeout
option is passed when the first item is enqueued.
If the timeout occurs before batchSize
is reached, flush
is called.