listen

fun <T : Any> Iterable<Event<T>>.listen(listener: (T) -> Unit): (T) -> Unit(source)

add listener to Iterable of Event entries