mirror of
https://github.com/lights0123/n-link.git
synced 2026-08-08 02:33:28 +00:00
Plan A verification found close_device timing out despite doing no I/O: all commands were synchronous, Tauri runs sync commands on the main thread, so a hung list_dir blocked every subsequent command. The 11 libnspire-touching commands now spawn_blocking. enumerate and close_device stay sync — neither performs a transfer. Return types become concrete because impl Serialize cannot cross the async boundary. No change to command names or payloads. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||