server-master/srcs/PhoenixLib.Events/IAsyncEventProcessor.cs
2026-02-10 18:21:30 +01:00

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