openrndr / org.openrndr.events / kotlin.collections.Iterable

Extensions for kotlin.collections.Iterable

listen

add listener to Iterable of Event entries

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