addListener

open override fun addListener(event: String, listener: Function<Unit>)(source)

events.EventEmitter

  1. close

  2. connect

  3. connectionAttempt

  4. connectionAttemptFailed

  5. connectionAttemptTimeout

  6. data

  7. drain

  8. end

  9. error

  10. lookup

  11. ready

  12. timeout