In the tauri_sys::window::WebviewWindow.listen method there are two generics:
pub async fn listen<T, H>(&self, event: &str) -> crate::Result<impl Stream<Item = Event<T>>>.
It is clear what T is doing, but I am unclear as to what H is used for, as I don't see it referenced anywhere.
In the
tauri_sys::window::WebviewWindow.listen
method there are two generics:pub async fn listen<T, H>(&self, event: &str) -> crate::Result<impl Stream<Item = Event<T>>>
. It is clear whatT
is doing, but I am unclear as to whatH
is used for, as I don't see it referenced anywhere.