chore: add changefile

This commit is contained in:
Lucas Nogueira 2021-02-03 20:54:23 -03:00
parent a169b67ef0
commit 2bf55f8056
No known key found for this signature in database
GPG Key ID: 2714B66BCFB01F7F

9
.changes/tauri-async.md Normal file
View File

@ -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.