You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything was fine in alpha.11. After updating to alpha.12, when the frontend invokes a command with async fn, it just times out after around 2 seconds. However, the debugger shows the command was actually called successfully. So it seems it is the callback part inside Tauri that's broken.
Reproduction
pnpm create tauri-app --alpha. Right now it should uses Tauri alpha.13, which shares the problem.
Add tokio dependency. Change the greeting function to async. Make the main function async.
Launch the app. Type the name and click button. Notice nothing happens and error shows up in console.
Expected behavior
Async command should be usable as it always does since 1.0.
Describe the bug
Everything was fine in alpha.11. After updating to alpha.12, when the frontend invokes a command with
async fn
, it just times out after around 2 seconds. However, the debugger shows the command was actually called successfully. So it seems it is the callback part inside Tauri that's broken.Reproduction
pnpm create tauri-app --alpha
. Right now it should uses Tauri alpha.13, which shares the problem.Expected behavior
Async command should be usable as it always does since 1.0.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: