addListener

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

events.EventEmitter

  1. close

  2. connection

  3. error

  4. listening

  5. drop