| 9 | } |
| 10 | |
| 11 | export interface IEventEmitter<T> { |
| 12 | onEvent: IEvent<T> |
| 13 | fire(arg: T): void |
| 14 | dispose(): void |
| 15 | } |
| 16 | |
| 17 | export class EventEmitter<T> implements IEventEmitter<T> { |
| 18 | private _listeners: IListener<T>[] = [] |
no outgoing calls
no test coverage detected