on

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