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

chore: follow design patterns for publishers #101

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

philasmar
Copy link
Contributor

@philasmar philasmar commented Feb 27, 2024

Issue #, if available:
DOTNET-7370, #89

Description of changes:

  • Add ICommandPublisher and IEventPublisher to represent publishers that send to specific recipients and publishers that publish to unknown recipients. This was needed to allow extending publishers in the future and adding more of them. A command publisher has a SendAsync while an event publisher has a PublishAsync.
  • Updated tests, sample apps and docs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@philasmar philasmar merged commit 9b38376 into dev Feb 28, 2024
5 checks passed
@ashovlin ashovlin mentioned this pull request Mar 8, 2024
@philasmar philasmar deleted the asmarp/publisher-design-patterns branch March 20, 2024 17:01
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.

None yet

3 participants