Radarr/NzbDrone.Common/Messaging/IHandle.cs

12 lines
326 B
C#
Raw Normal View History

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