Trait tauri_plugin_aptabase::EventTracker
source · pub trait EventTracker {
// Required methods
fn track_event(&self, name: &str, props: Option<Value>);
fn flush_events_blocking(&self);
}Expand description
Trait implemented by Tauri handlers
Required Methods§
sourcefn track_event(&self, name: &str, props: Option<Value>)
fn track_event(&self, name: &str, props: Option<Value>)
Enqueues an event to be sent to the server.
sourcefn flush_events_blocking(&self)
fn flush_events_blocking(&self)
Flushes the event queue, blocking the current thread.