on

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