BroadcastEventBus

class BroadcastEventBus<T> : EventListenable<T>

Functions

postEvent
Link copied to clipboard
suspend fun postEvent(event: T)
fun postEvent(event: T, scope: CoroutineScope): Job
postEvents
Link copied to clipboard
suspend fun postEvents(eventsToPost: Collection<T>)
fun postEvents(eventsToPost: Collection<T>, scope: CoroutineScope): Job
readOnly
Link copied to clipboard
fun readOnly(): EventListenable<T>
tryPostEvent
Link copied to clipboard
fun tryPostEvent(event: T)

Properties

events
Link copied to clipboard
open override val events: SharedFlow<T>

Sources

SDK source
Link copied to clipboard