/// 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: Fn(EventPayload) + Send + 'static>(
    &self,
    event: impl AsRef<str>,
    handler: F,
  ) -> EventId {
    super::event::listen(event, None, handler)
  }
pub fn listen < F : Fn ( EventPayload ) + Send + ' static > ( & self , event : impl AsRef < str > , handler : F , ) -> EventId { super :: event :: listen ( event , None , handler ) }
Listen to a global event.
Listen to a global event .
&self
<not_specific>
event
impl AsRef<str>
<not_specific>
handler
F
<not_specific>