listening-to-tauri-events
✓教授如何使用事件 API 在前端订阅和侦听 Tauri 事件,包括类型化事件处理程序和清理模式。
SKILL.md
This skill covers how to subscribe to events emitted from Rust in a Tauri v2 application using the @tauri-apps/api/event module.
Important: Webview-specific events are NOT received by global listeners. Use the appropriate listener type based on how events are emitted from Rust.
The event API is part of the core Tauri API package:
教授如何使用事件 API 在前端订阅和侦听 Tauri 事件,包括类型化事件处理程序和清理模式。 来源:dchuk/claude-code-tauri-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill listening-to-tauri-events- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-07
- 更新时间
- 2026-02-18
快速解答
什么是 listening-to-tauri-events?
教授如何使用事件 API 在前端订阅和侦听 Tauri 事件,包括类型化事件处理程序和清理模式。 来源:dchuk/claude-code-tauri-skills。
如何安装 listening-to-tauri-events?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill listening-to-tauri-events 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/dchuk/claude-code-tauri-skills