tauri-commands-async-patterns

SKILLFlujo de trabajocomunidad
v0.0.0stuffbucketMITActualizado hace 16 dFuente →

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 →
4Estrellas del repo
1Clientes
1Formatos
hace 16 dÚltima actualización
Skill
Autorstuffbucket
Versión0.0.0
LicenciaMIT
CategoríaFlujo de trabajo
Formatosskill.md
PromptNo publicado
Compatibilidad
Claude✓ Compatible
Cursor
Copilot
ChatGPT
Gemini
Acerca de

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

Palabras clave
skillclaude