brows3r — TypeScript API
    Preparing search index...

    Function invoke

    • Typed wrapper around Tauri's invoke.

      On success returns the typed result T. On failure attempts to parse the error as AppError; if parsing fails (unexpected shape) it constructs a synthetic Internal AppError so callers always deal with a uniform error type.

      Type Parameters

      • T

      Parameters

      • cmd: string
      • Optionalpayload: Record<string, unknown>

      Returns Promise<T>