1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 10:32:35 +01:00
Radarr/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);
}
}