onEventLaunch

inline fun <T : Widget> T.onEventLaunch(event: String, coroutineScope: CoroutineScope = KVScope, noinline handler: suspend T.(Event) -> Unit): Int

An extension function for defining on change suspending event handlers.