uniflow-core / io.uniflow.core.flow / EventPublisher

EventPublisher

interface EventPublisher

Component for Event publishing

publishEvent - implementation used by sendEvent-

Functions

publishEvent

abstract suspend fun publishEvent(event: UIEvent): Unit

sendEvent

open suspend fun sendEvent(event: UIEvent): Unit
open suspend fun sendEvent(event: () -> UIEvent): Unit

Inheritors

DataPublisher

interface DataPublisher : StatePublisher, EventPublisher

Component that handle State & Event