tauri/.changes/fix-ease-plugin-hook-requirements.md
Jonas Kruckenberg fd557e984d
Ease plugin hook restrictions (#3404)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-13 00:55:57 -03:00

6 lines
186 B
Markdown

---
"tauri": patch
---
Ease the requirements for plugin hooks. `setup` and `setup_with_config` can now be `FnOnce` and `on_webview_ready`, `on_event` and `on_page_load` can be `FnMut`.