RuntimeShutdown

Function RuntimeShutdown 

Source
pub async fn RuntimeShutdown(
    ApplicationHandle: &AppHandle,
) -> Result<(), String>
Expand description

Shuts down the ApplicationRunTime and its effect execution engine.

§Arguments

  • ApplicationHandle - The Tauri application handle

§Returns

A Result indicating success or failure.

§Shutdown Process

This function performs:

  • Stops all running tasks and effects
  • Cleans up internal resources
  • Ensures graceful termination of the runtime

§Errors

Returns an error if ApplicationRunTime is not found or shutdown fails.