mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-29 02:57:15 +02:00
14 lines
355 B
C#
14 lines
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);
|
|
}
|
|
} |