on

inline fun <EE : E> on(eventSelector: KClass<Out EE>, init: TransitionDsl<S, EE, E>.() -> Unit)