//MetaPhrase/com.github.diegoberaldin.metaphrase.core.common.notification/NotificationCenter
NotificationCenter
interface NotificationCenter
Utility to publish and subscribe for broadcast notifications.
Inheritors
| DefaultNotificationCenter |
Types
| Name | Summary |
|---|---|
| Event | [jvm] interface Event Available event types. |
Properties
| Name | Summary |
|---|---|
| events | [jvm] abstract val events: SharedFlow<NotificationCenter.Event> Observable event flow |
Functions
| Name | Summary |
|---|---|
| send | [jvm] abstract fun send(event: NotificationCenter.Event) Publish and event to subscribers. |