on

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