Skip to main content

send_paced

Function send_paced 

Source
fn send_paced(
    batch: Vec<SentryMetric>,
    pace: &Pace,
    send: impl FnMut(Vec<SentryMetric>),
)
Expand description

Calls send with batch in envelope-sized parts, waiting on pace between parts.