async fn send_bulk(&mut self, events: &[AnalyticsEvent]) {
        let result = self.backend.send_bulk(&self.client_metadata, events).await;
        if let Err(err) = result {
            log::error!("Failed to post events error={}", err);
            // TODO - Push back to queue or retry
        }
    }
/// Sends a slice of events to the configured back-end
Sends a slice of events to the configured back-end
Sends a slice of events to the configured back - end
async fn send_bulk(&mut self, events: &[AnalyticsEvent]) {
        let result = self.backend.send_bulk(&self.client_metadata, events).await;
        if let Err(err) = result {
            log::error!("Failed to post events error={}", err);
            // TODO - Push back to queue or retry
        }
    }
async fn send_bulk ( & mut self , events : & [ AnalyticsEvent ] ) { let result = self . backend . send_bulk ( & self . client_metadata , events ) . await ; if let Err ( err ) = result { log :: error ! ( " " err ) ; // TODO - Push back to queue or retry } }
Sends a slice of events to the configured back-end
Sends a slice of events to the configured back - end
&mut self
events
&[AnalyticsEvent]
&mut self
events
&[AnalyticsEvent]