brows3r — TypeScript API
    Preparing search index...

    Function listen

    • Typed wrapper around Tauri's listen.

      The event name must be a key in TauriEventMap — unknown event names are a compile error. The handler receives the payload typed by the map entry.

      Returns an UnlistenFn that should be called when the listener is no longer needed (e.g. on component unmount).

      Type Parameters

      Parameters

      Returns Promise<UnlistenFn>