tauri/.changes/nested-events.md
chip e447b8e0e6
allow event listeners to be nested (#1513)
* allow event listeners to be nested

* finish event comment

* remove extraneous into_iter()

* use tag instead of params on event for easier testing
2021-04-15 21:22:47 -03:00

352 B

tauri
patch

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.