File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22" tauri " : patch
33---
44
5- Callbacks passed to ` tauri::plugin::Builder::setup ` or ` tauri::plugin::Builder::setup_with_config ` are no longer required to implement ` Sync ` .
5+ ` tauri::plugin::Builder ` closures are no longer required to implement ` Sync ` .
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ pub trait Plugin<R: Runtime>: Send {
5656
5757type SetupHook < R > = dyn FnOnce ( & AppHandle < R > ) -> Result < ( ) > + Send ;
5858type SetupWithConfigHook < R , T > = dyn FnOnce ( & AppHandle < R > , T ) -> Result < ( ) > + Send ;
59- type OnWebviewReady < R > = dyn FnMut ( Window < R > ) + Send + Sync ;
60- type OnEvent < R > = dyn FnMut ( & AppHandle < R > , & RunEvent ) + Send + Sync ;
61- type OnPageLoad < R > = dyn FnMut ( Window < R > , PageLoadPayload ) + Send + Sync ;
59+ type OnWebviewReady < R > = dyn FnMut ( Window < R > ) + Send ;
60+ type OnEvent < R > = dyn FnMut ( & AppHandle < R > , & RunEvent ) + Send ;
61+ type OnPageLoad < R > = dyn FnMut ( Window < R > , PageLoadPayload ) + Send ;
6262
6363/// Builds a [`TauriPlugin`].
6464///
You can’t perform that action at this time.
0 commit comments