pub fn listen<F: FnMut(Option<String>) + Send + 'static>(
    &self,
    event: impl AsRef<str>,
    handler: F,
  ) {
    super::event::listen(event, None, handler)
  }
/// Listen to a global event.
/// An event from any webview will trigger the handler.
Listen to a global event.
An event from any webview will trigger the handler.
Listen to a global event . An event from any webview will trigger the handler .
pub fn listen<F: FnMut(Option<String>) + Send + 'static>(
    &self,
    event: impl AsRef<str>,
    handler: F,
  ) {
    super::event::listen(event, None, handler)
  }
pub fn listen < F : FnMut ( Option < String > ) + Send + ' static > ( & self , event : impl AsRef < str > , handler : F , ) { super :: event :: listen ( event , None , handler ) }
Listen to a global event.
Listen to a global event .
&self
event
impl AsRef<str>
handler
F
&self
event
impl AsRef<str>
handler
F