Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancellable events #3329

Merged
merged 4 commits into from
Apr 30, 2023
Merged

Cancellable events #3329

merged 4 commits into from
Apr 30, 2023

Conversation

partydragen
Copy link
Member

No description provided.

@tadhgboyle
Copy link
Member

Should EventHandler also be updated so that it checks if the event is instance of cancellable and not continue executing listeners if it has been cancelled?

@partydragen
Copy link
Member Author

Should EventHandler also be updated so that it checks if the event is instance of cancellable and not continue executing listeners if it has been cancelled?

Hm not sure, It could may be listeners still want to know they should check if event is already cancelled or not etc but i guess none will need that so it saves performance to not continue executing listeners

@samerton samerton merged commit 24a7d8a into develop Apr 30, 2023
@samerton samerton deleted the cancellable-events branch April 30, 2023 11:31
@samerton samerton added this to the 2.1.0 milestone Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants