addListener

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

events.EventEmitter

  1. close

  2. connect

  3. error

  4. listening

  5. message