once

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