(cb: Callback<EventType>)
| 26 | } |
| 27 | |
| 28 | public removeHandler(cb: Callback<EventType>): void { |
| 29 | const idx = this._callbacks.lastIndexOf(cb); |
| 30 | if (idx >= 0) { |
| 31 | this._callbacks.splice(idx, 1); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | public async raise(...ev: EventType): Promise<void> { |
| 36 | this._logger.debug("raise:", ...ev); |
no outgoing calls
no test coverage detected