on

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