ScanExtensionsWithRecovery

Function ScanExtensionsWithRecovery 

Source
pub async fn ScanExtensionsWithRecovery(
    ApplicationHandle: AppHandle,
    State: &State,
) -> Result<(), CommonError>
Expand description

Robust extension scanning with comprehensive error handling.

§Arguments

  • ApplicationHandle - Tauri application handle for extension management
  • State - Reference to the application state

§Returns

Result indicating success or CommonError on failure

§Behavior

  • Clears potentially corrupted extension state first
  • Performs the scan
  • Retries once on failure
  • Comprehensive error logging