Skip to content

Make all Rust event listeners use AsyncStream#33

Merged
viktorstrate merged 6 commits intomainfrom
concurrency-cleanup
Feb 13, 2026
Merged

Make all Rust event listeners use AsyncStream#33
viktorstrate merged 6 commits intomainfrom
concurrency-cleanup

Conversation

@viktorstrate
Copy link
Owner

This PR updates all occurences of rust event listeners such that they use AsyncStream instead.
This ensures that rust events will be scheduled on the main thread (to update UI) in the same order as they fired from rust.
The previous solution could cause races that could cause the UI to end up in an inconsistent state.

@viktorstrate viktorstrate merged commit 6289a86 into main Feb 13, 2026
2 checks passed
@viktorstrate viktorstrate deleted the concurrency-cleanup branch February 13, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant