tgstation-server  4.3.2
The /tg/station 13 server suite
IEventConsumer.cs
Go to the documentation of this file.
1 using System.Collections.Generic;
2 using System.Threading;
3 using System.Threading.Tasks;
4 
5 namespace Tgstation.Server.Host.Components.Events
6 {
10  public interface IEventConsumer
11  {
19  Task HandleEvent(EventType eventType, IEnumerable<string> parameters, CancellationToken cancellationToken);
20  }
21 }
EventType
Types of events. Mirror in tgs.dm
Definition: EventType.cs:6
Consumes EventTypes and takes the appropriate actions