Signal

class Signal<T>

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val flow: Flow<T>

Functions

Link copied to clipboard
fun observe(scope: CoroutineScope? = null, onEach: suspend (T) -> Unit, onCompletion: (Throwable?) -> Unit? = null): Job
Link copied to clipboard
fun observeNext(scope: CoroutineScope? = null, onValue: suspend (T) -> Unit, onCompletion: (Throwable?) -> Unit? = null): Job
Link copied to clipboard
fun send(value: T, scope: CoroutineScope? = null)