DataSource

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
abstract val id: String
Link copied to clipboard
abstract val isReady: Boolean
Link copied to clipboard
abstract val kind: DataSourceKind
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addConsumer(consumer: DataSourceConsumer)
Link copied to clipboard
inline fun <EventType : Event> EventSource.publisher(eventType: Class<EventType>): Flow<EventType>
Link copied to clipboard
abstract fun removeConsumer(consumer: DataSourceConsumer)
Link copied to clipboard
inline suspend fun <EventType : Event> EventSource.subscribe(eventType: Class<EventType>, crossinline handler: (EventType) -> Unit)
Link copied to clipboard