fn flush_paced(
policy: &SentryPolicy,
pace: &Pace,
transport_ready: impl FnOnce() -> bool,
send: impl FnMut(Vec<SentryMetric>),
)Expand description
Flushes policy if transport_ready returns true, and sends the batch paced by pace.