mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
added commands.
they can be triggered using the api api/command/
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
/// </summary>
|
||||
public interface IMessageAggregator
|
||||
{
|
||||
void Publish<TEvent>(TEvent message) where TEvent : IEvent;
|
||||
void Execute<TCommand>(TCommand message) where TCommand : ICommand;
|
||||
void PublishEvent<TEvent>(TEvent @event) where TEvent : IEvent;
|
||||
void PublishCommand<TCommand>(TCommand command) where TCommand : ICommand;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user