1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Common/Messaging/IHandle.cs
Keivan Beigi 182192e0ba added commands.
they can be triggered using the api

api/command/
2013-04-26 19:03:34 -07:00

12 lines
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);
}
}