(event: string | symbol, listener: Listener)
| 51 | stream.addListener('data', this.dataCallbackHandler); |
| 52 | } |
| 53 | public on(event: string | symbol, listener: Listener): this { |
| 54 | this.events.on(event, listener); |
| 55 | return this; |
| 56 | } |
| 57 | public once(event: string | symbol, listener: Listener): this { |
| 58 | this.events.once(event, listener); |
| 59 | return this; |