Skip to main content

init

Function init 

Source
pub fn init<R: Runtime>() -> TauriPlugin<R>
Expand description

Build the plugin. Registered as "picoframe-worker", so the frontend invokes plugin:picoframe-worker|worker_crunch. The sidecar is spawned in setup and killed on app exit; a spawn failure is logged but does not abort startup (the UI surfaces the unhealthy state).