on

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