uniflow-core / io.uniflow.core.flow.data / Event

Event

data class Event<out T : UIEvent>

Event wrapper

Help send content to EventConsumer

Author
Arnaud Giuliani

Constructors

<init>

Event(id: String = UUID.randomUUID().toString(), content: T)

Event wrapper

Properties

content

val content: T

id

val id: String

Functions

getContentForConsumer

fun getContentForConsumer(consumer: EventConsumer): UIEvent?