Interface IDispatchEvent
Represents an event that has occurred within the system and can be dispatched to multiple handlers.
public interface IDispatchEvent : IDispatchMessage
- Extension Methods
Remarks
Events are immutable facts that describe something that has happened in the past. They are typically handled by multiple subscribers and should not contain behavior. Events support eventual consistency patterns and are commonly used for:
- Domain event sourcing
- Integration between bounded contexts
- Audit logging and activity tracking
- Cache invalidation and projections