EventInstance

class EventInstance<out P : Tuple>(emitter: EventEmitter, type: EventType) : Flow<P> (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
open suspend override fun collect(collector: FlowCollector<P>)
Link copied to clipboard
fun emit(payload: P)