1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00
Sonarr/NzbDrone.Core/Messaging/IHandle.cs
2013-09-11 17:42:53 -07:00

14 lines
No EOL
355 B
C#

using NzbDrone.Common.Messaging;
namespace NzbDrone.Core.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);
}
}