Package renetik.android.event

Types

Link copied to clipboard
interface CSEvent<T>
Link copied to clipboard
class CSEventImpl<T> : CSEvent<T>
Link copied to clipboard
interface CSEventListener<T> : CSRegistration

Functions

Link copied to clipboard
inline fun CSEvent<*>.action(@UiThread crossinline function: () -> Unit): CSRegistration
Link copied to clipboard
fun CSEvent<Unit>.fire(): CSEvent<Unit>
Link copied to clipboard
@JvmName(name = "listenNoArg")
fun CSEvent<*>.listen(@UiThread function: Func): CSRegistration
inline fun <T> CSEvent<T>.listen(@UiThread crossinline function: (registration: CSRegistration, argument: T) -> Unit): CSRegistration
inline fun CSEvent<Unit>.listen(@UiThread crossinline function: Func): CSRegistration
Link copied to clipboard
inline fun <T> CSEvent<T>.listenOnce(@UiThread crossinline listener: (argument: T) -> Unit): CSRegistration
Link copied to clipboard
fun CSEvent<*>.paused(function: Func)