pub trait EventEmitter: Send + Sync {
// Required method
fn emit(&self, event: &str, payload: &str) -> Result<()>;
}Expand description
Trait for emitting events from core to external consumers.
Replaces Option<tauri::AppHandle> in MemoryDB and other modules that
previously needed to push updates to the Tauri frontend.