pub fn new(
        config: AnalyticsWorkerConfig,
        backend: Box<dyn AnalyticsBackend>,
        client_metadata: ClientMetadata,
        events_queue: UnboundedReceiver<AnalyticsEvent>,
    ) -> Self {
        AnalyticsWorker {
            config,
            backend,
            client_metadata,
            events_queue,
        }
    }
/// Create a new analytics worker with provided parameters
Create a new analytics worker with provided parameters
Create a new analytics worker with provided parameters
pub fn new(
        config: AnalyticsWorkerConfig,
        backend: Box<dyn AnalyticsBackend>,
        client_metadata: ClientMetadata,
        events_queue: UnboundedReceiver<AnalyticsEvent>,
    ) -> Self {
        AnalyticsWorker {
            config,
            backend,
            client_metadata,
            events_queue,
        }
    }
pub fn new ( config : AnalyticsWorkerConfig , backend : Box < dyn AnalyticsBackend > , client_metadata : ClientMetadata , events_queue : UnboundedReceiver < AnalyticsEvent > , ) -> Self { AnalyticsWorker { config , backend , client_metadata , events_queue , } }
Create a new analytics worker with provided parameters
Create a new analytics worker with provided parameters
config
AnalyticsWorkerConfig
backend
Box<dyn AnalyticsBackend>
client_metadata
ClientMetadata
events_queue
UnboundedReceiver<AnalyticsEvent>
config
AnalyticsWorkerConfig
backend
Box<dyn AnalyticsBackend>
client_metadata
ClientMetadata
events_queue
UnboundedReceiver<AnalyticsEvent>