* 添加事件监听器
(event: string, listener: (...args: any[]) => void)
| 54 | * 添加事件监听器 |
| 55 | */ |
| 56 | on(event: string, listener: (...args: any[]) => void): this { |
| 57 | this.eventEmitter.on(event, listener); |
| 58 | return this; |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * 移除事件监听器 |
no outgoing calls
no test coverage detected