Event

open class Event<out T>(content: T)

Used as a wrapper for data that represents an event.

Constructors

Link copied to clipboard
constructor(content: T)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Returns the content and prevents its use again.

Link copied to clipboard
fun peekContent(): T

Returns the content, even if it's already been handled.