(event: string, handler: (...args: any[]) => void)
| 34 | this.id = id; |
| 35 | this.namespace.addSocket(this); |
| 36 | } |
| 37 | |
| 38 | on(event: string, handler: (...args: any[]) => void) { |
| 39 | this.handlers.set(event, handler); |
| 40 | return this; |
| 41 | } |
| 42 |
no test coverage detected