IpcEventsSource

A source of 1 specific IpcEventsSource.eventTypeId.

Its implementations must be put into the app Koin dependencies graph and bound to IpcEventsSource, for example:

    factory {
MyCustomEventsSource()
} bind IpcEventsSource::class

Please note: this class must be thread-safe, because its instances will be touched from unpredictable number of background threads.

Properties

Link copied to clipboard
abstract val eventsFlow: Flow<Event>

The events this particular IpcEventsSource emits.

Link copied to clipboard
abstract val eventTypeId: String

A unique identifier of this event type. Please append an app-specific prefix to each of your event types so that their names would not clash with the built-it UXF events.