Event Pipelines samples #86
oskardudycz
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Event Pipelines
Shows how to compose event handlers in the processing pipelines to:
Overview
Having UserAdded event:
We may want to create a pipeline, that will at first filter admin users:
Then map events to a dedicated
AdminAdded
event:Then handle mapped events storing information about new admins:
And distribute global admins to all tenants:
MediatR is great, but it doesn't enable such advanced pipelines. This sample shows how to construct event pipelines seamlessly. See EventBus implementation.
You can use it with Dependency Injection
or without:
This discussion was created from the release Event Pipelines samples.
Beta Was this translation helpful? Give feedback.
All reactions