addListener

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

events.EventEmitter

  1. close

  2. connection

  3. error

  4. listening

  5. drop


abstract fun addListener(event: Symbol, listener: Function<Unit>)(source)