mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
182192e0ba
they can be triggered using the api api/command/
12 lines
No EOL
326 B
C#
12 lines
No EOL
326 B
C#
namespace NzbDrone.Common.Messaging
|
|
{
|
|
public interface IHandle<TEvent> : IProcessMessage<TEvent> where TEvent : IEvent
|
|
{
|
|
void Handle(TEvent message);
|
|
}
|
|
|
|
public interface IHandleAsync<TEvent> : IProcessMessageAsync<TEvent> where TEvent : IEvent
|
|
{
|
|
void HandleAsync(TEvent message);
|
|
}
|
|
} |