tornadofx / tornadofx / Component / subscribe

subscribe

inline fun <reified T : FXEvent> subscribe(times: Number? = null, noinline action: EventContext.(T) -> Unit): EventRegistration