mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 01:57:21 +00:00
182192e0ba
they can be triggered using the api api/command/
11 lines
No EOL
343 B
C#
11 lines
No EOL
343 B
C#
namespace NzbDrone.Common.Messaging
|
|
{
|
|
/// <summary>
|
|
/// Enables loosely-coupled publication of events.
|
|
/// </summary>
|
|
public interface IMessageAggregator
|
|
{
|
|
void PublishEvent<TEvent>(TEvent @event) where TEvent : IEvent;
|
|
void PublishCommand<TCommand>(TCommand command) where TCommand : ICommand;
|
|
}
|
|
} |