IEventListener interface
Generic Interface used for ListenerCallbacks alongside the EventSubject class. The IEventListener is hereby used to safely type the callback and the passed on event parameter.
Signature
export interface IEventListener<T>
Generic Interface used for ListenerCallbacks alongside the EventSubject class. The IEventListener is hereby used to safely type the callback and the passed on event parameter.
export interface IEventListener<T>