tauri-commands-async-patterns

SKILLFlusso di lavorocommunity
v0.0.0stuffbucketMITAggiornato 16 g faFonte →

Use when writing async Tauri v2 commands — deciding when a command should be `async fn`, spawning background tasks that outlive the command via `tokio::spawn` + cloned `AppHandle`, cancellable long-running work with `tokio::select!` + `CancellationToken`, streaming progress via `Channel` instead of

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
4Stelle del repo
1Client
1Formati
16 g faUltimo aggiornamento
Skill
Autorestuffbucket
Versione0.0.0
LicenzaMIT
CategoriaFlusso di lavoro
Formatiskill.md
PromptNon pubblicato
Compatibilità
Claude✓ Supportato
Cursor
Copilot
ChatGPT
Gemini
Descrizione

Use when writing async Tauri v2 commands — deciding when a command should be `async fn`, spawning background tasks that outlive the command via `tokio::spawn` + cloned `AppHandle`, cancellable long-running work with `tokio::select!` + `CancellationToken`, streaming progress via `Channel` instead of polling, and avoiding deadlock anti-patterns (std-mutex across `.await`, holding guards across await

Parole chiave
skillclaude