BaseSignal

abstract class BaseSignal<T, THandler>(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: THandler) : Closeable

Properties

Link copied to clipboard
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<T>
Link copied to clipboard
abstract suspend fun waitOneBase(): T