* Register an event callback for the specified event. * * @param event - Event name to listen for * @param callback - Function to call when event occurs
(event: string, callback: EventCallback)
| 35 | * @param callback - Function to call when event occurs |
| 36 | */ |
| 37 | public on(event: string, callback: EventCallback): void { |
| 38 | this._eventRegister[event] = callback; |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Unregister an event callback for the specified event. |
nothing calls this directly
no outgoing calls
no test coverage detected