Interface ConsumerOf<TEvent>
Represents a consumer of a specific type of event.
Namespace: IRM.Messaging.Subscriptions
Assembly: IRM.dll
Syntax
public interface ConsumerOf<in TEvent>
Type Parameters
TEvent
The type of event to consume. |
Methods
Consume(TEvent)
Called with the event to consume.
Declaration
void Consume(TEvent message)
Parameters
TEvent
message
The event to process. |