Trait dipstick::ScheduleFlush
source · pub trait ScheduleFlush {
// Required method
fn flush_every(&self, period: Duration) -> CancelHandle;
}
Expand description
Enable background periodical publication of metrics
Required Methods§
sourcefn flush_every(&self, period: Duration) -> CancelHandle
fn flush_every(&self, period: Duration) -> CancelHandle
Flush this scope at regular intervals.