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§

source

fn track_event(&self, name: &str, props: Option<Value>)

Enqueues an event to be sent to the server.

source

fn flush_events_blocking(&self)

Flushes the event queue, blocking the current thread.

Implementations on Foreign Types§

source§

impl EventTracker for App

source§

impl EventTracker for AppHandle

source§

impl EventTracker for Window

Implementors§