EventListenable

interface EventListenable<out T>

An interface declaring that this object emits events that can be collected.

See also

Properties

Link copied to clipboard
abstract val events: SharedFlow<T>

Functions

Link copied to clipboard
inline suspend fun <T> EventListenable<T>.collect(crossinline action: suspend (value: T) -> Unit): Nothing