mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-03 00:21:34 +03:00
chore: add changefile
This commit is contained in:
parent
a169b67ef0
commit
2bf55f8056
9
.changes/tauri-async.md
Normal file
9
.changes/tauri-async.md
Normal 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.
|
Loading…
Reference in New Issue
Block a user