tgstation-server
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
6 {
10  public interface IEventConsumer
11  {
19  Task<bool> HandleEvent(EventType eventType, IEnumerable<string> parameters, CancellationToken cancellationToken);
20  }
21 }
Consumes EventTypes and takes the appropriate actions
EventType
Types of events. Mirror in tgs.dm
Definition: EventType.cs:6