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

Emit many events #299

Merged

Conversation

EvgenySmekalin
Copy link
Collaborator

  • Add SimpleEventPublisher.emit_many method to emit multiple events at once
  • Refactor EventDispatcher to dispatch events as a list or as a single event depending on handler argument type
  • Refactor DomainEventDispatcher to use one map

mofr
mofr previously approved these changes Apr 22, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
@EvgenySmekalin EvgenySmekalin marked this pull request as ready for review April 22, 2024 17:39
@EvgenySmekalin EvgenySmekalin requested a review from mofr April 22, 2024 18:04
@mofr mofr merged commit e784250 into WinterFramework:master Apr 22, 2024
5 checks passed
@EvgenySmekalin EvgenySmekalin deleted the emit_many_events_refactoring branch April 22, 2024 18:51
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