eventHandler

inline fun <E : Any> eventHandler(noinline onEvent: (E) -> Unit): EventHandler<E>
inline fun <E : Any> eventHandler(noinline onEvent: (E) -> Unit, tag: String?): EventHandler<E>