Skip to content

Commit 2bf55f8

Browse files
committed
chore: add changefile
1 parent a169b67 commit 2bf55f8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.changes/tauri-async.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"tauri": minor
3+
---
4+
5+
Added `async` support to the Tauri Rust core on commit [#a169b67](https://github.com/tauri-apps/tauri/commit/a169b67ef0277b958bdac97e33c6e4c41b6844c3).
6+
This is a breaking change:
7+
- Change `.setup(|webview, source| {` to `.setup(|webview, _source| async move {`.
8+
- Change `.invoke_handler(|_webview, arg| {` to `.invoke_handler(|_webview, arg| async move {`.
9+
- Add `.await` after `tauri::execute_promise()` calls.

0 commit comments

Comments
 (0)