1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-28 02:27:13 +00:00
Lidarr/NzbDrone.Core/Messaging/Events/IHandle.cs

14 lines
362 B
C#
Raw Normal View History

2013-09-11 06:33:47 +00:00
using NzbDrone.Common.Messaging;
namespace NzbDrone.Core.Messaging.Events
{
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);
}
}