Function dipstick::queue::queue
[−]
[src]
pub fn queue<M, S>(queue_size: usize, sink: S) -> MetricQueue<M, S> where
M: 'static + Send + Sync,
S: Sink<M>,
Cache metrics to prevent them from being re-defined on every use. Use of this should be transparent, this has no effect on the values. Stateful sinks (i.e. Aggregate) may naturally cache their definitions.