BaseSignal2

abstract class BaseSignal2<T1, T2>(val onRegister: () -> Unit = {})

Inheritors

Constructors

Link copied to clipboard
constructor(onRegister: () -> Unit = {})

Types

Link copied to clipboard
inner class Node(val once: Boolean, val item: (T1, T2) -> Unit) : Closeable

Properties

Link copied to clipboard
Link copied to clipboard
val onRegister: () -> Unit

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
suspend fun listen(): ReceiveChannel<Pair<T1, T2>>
Link copied to clipboard
abstract suspend fun waitOneBase(): Pair<T1, T2>