Skip to content

Commit

Permalink
chore: add changefile
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Feb 3, 2021
1 parent a169b67 commit 2bf55f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changes/tauri-async.md
@@ -0,0 +1,9 @@
---
"tauri": minor
---

Added `async` support to the Tauri Rust core on commit [#a169b67](https://github.com/tauri-apps/tauri/commit/a169b67ef0277b958bdac97e33c6e4c41b6844c3).
This is a breaking change:
- Change `.setup(|webview, source| {` to `.setup(|webview, _source| async move {`.
- Change `.invoke_handler(|_webview, arg| {` to `.invoke_handler(|_webview, arg| async move {`.
- Add `.await` after `tauri::execute_promise()` calls.

0 comments on commit 2bf55f8

Please sign in to comment.