Package org.openrndr.events

Types

Event
Link copied to clipboard
common
class Event<T>(name: String, postpone: Boolean)
class Event<T>(name: String, postpone: Boolean)

an event class

Functions

listen
Link copied to clipboard
common
fun <T : Any> Iterable<Event<T>>.listen(listener: (T) -> Unit): (T) -> Unit

add listener to Iterable of Event entries