EventInstance

class EventInstance<out P : ERROR CLASS: Symbol not found for Tuple>(emitter: EventEmitter, type: EventType)(source)

Constructors

Link copied to clipboard
constructor(emitter: EventEmitter, type: EventType)

Functions

Link copied to clipboard
fun addHandler(handler: (P) -> Unit): () -> Unit
Link copied to clipboard
fun <P : ERROR CLASS: Symbol not found for Tuple> EventInstance<P>.asFlow(): ERROR CLASS: Symbol not found for Flow<P>
Link copied to clipboard
fun emit(payload: P)
Link copied to clipboard
suspend operator fun <P : ERROR CLASS: Symbol not found for Tuple> EventInstance<P>.iterator(): ERROR CLASS: Symbol not found for SuspendIterator<P>
Link copied to clipboard
suspend fun <P : ERROR CLASS: Symbol not found for Tuple> EventInstance<P>.once(): P
Link copied to clipboard
suspend fun <P : ERROR CLASS: Symbol not found for Tuple> EventInstance<P>.subscribe(handler: (P) -> Unit): ERROR CLASS: Symbol not found for Job