Browse Source

chore: add changefile

Lucas Nogueira 4 years ago
parent
commit
2bf55f8056
1 changed files with 9 additions and 0 deletions
  1. 9 0
      .changes/tauri-async.md

+ 9 - 0
.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.