INotificationHandler #786
Replies: 3 comments
-
You should not use events/notifications this way. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@eskaufel Thanks for your response but I did not quiet get you. Let me ask my questions in a different way by taking a use case below. I have a customer who placed an order => OrderPlacedEvent : INotification After the order is placed, I have to perform the following three actions
Question #1: Can I use MediatR INotification like above. Please respond. Thanks |
Beta Was this translation helpful? Give feedback.
-
I have read 1 notification can have N handlers, its a one to many relationship. In such case, what is the order that the handlers gets executed? Can we have a control to set the order of execution among handlers? Also, If I want to carry the output of one handler into another handler, or executing one handler based on the end result of another handler, is that possible?
Beta Was this translation helpful? Give feedback.
All reactions