addListener

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