addListener

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

events.EventEmitter

  1. disconnect

  2. error

  3. exit

  4. listening

  5. message

  6. online