Skip to content

♻️ Refactor EventBus notify method #3690

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ff137
Copy link
Contributor

@ff137 ff137 commented Apr 29, 2025

🚧


Relates to #3659

@swcurran
Copy link
Contributor

Shoot — sorry, didn’t see that this was draft. Should have waited for the tests to complete before merging in main. Doh...

ff137 added 3 commits May 2, 2025 18:16
- Streamlined the process of notifying subscribers by using a list comprehension for creating partials.
- Added logging for cases where no subscribers are found for an event.
- Enhanced error handling by logging exceptions that occur during the scheduling of notification tasks.
- Introduced a new method to log exceptions in background notification tasks.
- Non-blocking event notifications.

This refactor aims to improve code performance and maintainability

Signed-off-by: ff137 <[email protected]>
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.

2 participants