Skip to main content

type.SetupHook

type SetupHook<P> = Box<dyn Fn(&mut App<P>) -> Result<(), Box<dyn Error + Send>> + Send>;

A closure that is run when the Tauri application is setting up.