tauri@1.0.0-beta-rc.2
-
Prevent “once” events from being able to be called multiple times.
-
Window::trigger(/*...*/)
is now properlypub
instead ofpub(crate)
. -
Manager::once_global(/*...*/)
now returns anEventHandler
. -
Window::once(/*...*/)
now returns anEventHandler
. -
(internal)
event::Listeners::trigger(/*...*/)
now handles removing “once” events. -
ece243d don’t remove once listener on new thread (#1506) on 2021-04-14
-
Window and global events can now be nested inside event handlers. They will run as soon as the event handler closure is finished in the order they were called. Previously, calling events inside an event handler would produce a deadlock.
Note: The order that event handlers are called when triggered is still non-deterministic.
© 2024 Tauri Contributors. CC-BY / MIT