mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 10:07:10 +00:00
14 lines
No EOL
362 B
C#
14 lines
No EOL
362 B
C#
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);
|
|
}
|
|
} |