re_analytics::native::pipeline

Function flush_events

Source
fn flush_events(
    session_file: &mut File,
    analytics_id: &Arc<str>,
    session_id: &Arc<str>,
    sink: &PostHogSink,
    abort_signal: &AbortSignal,
) -> Result<()>
Expand description

Sends all events currently buffered in the session_file down the sink.