Skip to content

refactor(action): improve event handler registration and error handling - #2357

Merged
sharjeelyunus merged 1 commit into
mainfrom
fix-dispatch-event
Sep 3, 2026
Merged

refactor(action): improve event handler registration and error handling#2357
sharjeelyunus merged 1 commit into
mainfrom
fix-dispatch-event

Conversation

@sharjeelyunus

@sharjeelyunus sharjeelyunus commented Sep 3, 2026

Copy link
Copy Markdown
Member
  • Removed unnecessary visibility annotations for testing.
  • Enhanced the EnsembleEventHandler to include an optional callback for when an event is handled.
  • Updated error handling in ExecuteActionAction to ensure proper restoration of event handlers after action execution.
  • Refactored the restoration logic into a separate method for clarity and maintainability.

- Removed unnecessary visibility annotations for testing.
- Enhanced the EnsembleEventHandler to include an optional callback for when an event is handled.
- Updated error handling in ExecuteActionAction to ensure proper restoration of event handlers after action execution.
- Refactored the restoration logic into a separate method for clarity and maintainability.
@sharjeelyunus
sharjeelyunus merged commit ecbc0b3 into main Sep 3, 2026
5 checks passed
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