addListener

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