feat!: add Listener and Emitter traits (#9640)

* feat!: add `Listener` and `Emitter` traits

* keep only trait implementation

* change file

* fix doctests

* fix build
This commit is contained in:
Amr Bashir
2024-07-12 15:01:40 +03:00
committed by GitHub
parent 1a88fc1a9b
commit ba9590aa92
14 changed files with 856 additions and 503 deletions

View File

@@ -12,7 +12,7 @@ use serde::Serialize;
use tauri::{
ipc::Channel,
webview::{PageLoadEvent, WebviewWindowBuilder},
App, AppHandle, Manager, RunEvent, Runtime, WebviewUrl,
App, AppHandle, Emitter, Listener, Manager, RunEvent, Runtime, WebviewUrl,
};
use tauri_plugin_sample::{PingRequest, SampleExt};