Interface IAsyncEventHandler<TEvent>
- Namespace
- MonkeyLoader.Events
- Assembly
- MonkeyLoader.dll
Defines the interface for async event handlers.
public interface IAsyncEventHandler<in TEvent> : IPrioritizable where TEvent : AsyncEvent
Type Parameters
TEvent
The type of cancelable async events handled.
- Inherited Members
Methods
Handle(TEvent)
Handles the given async event based on its data.
Task Handle(TEvent eventData)
Parameters
eventData
TEventAn object containing all the relevant information for the async event.