Package-level declarations

Types

Link copied to clipboard
open class Event<out T>(content: T)

Used as a wrapper for data that represents an event.

Link copied to clipboard
class EventObserver<T>(onEventUnhandledContent: (T) -> Unit) : Observer<Event<T>>

An Observer for Events, simplifying the pattern of checking if the Event's content has already been handled.