18 lines
No EOL
381 B
C#
18 lines
No EOL
381 B
C#
// WingsEmu
|
|
//
|
|
// Developed by NosWings Team
|
|
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PhoenixLib.Events
|
|
{
|
|
/// <summary>
|
|
/// Defines a handler for any type of notification
|
|
/// </summary>
|
|
public interface IAsyncEventProcessor<in T>
|
|
where T : IAsyncEvent
|
|
{
|
|
Task HandleAsync(T e, CancellationToken cancellation);
|
|
}
|
|
} |