State

data class State(val startedAt: Instant = Clock.System.now(), var finishedAt: Instant? = null, val messages: MutableSharedFlow<Message> = MutableSharedFlow(replay = 100))

Constructors

Link copied to clipboard
constructor(startedAt: Instant = Clock.System.now(), finishedAt: Instant? = null, messages: MutableSharedFlow<Message> = MutableSharedFlow(replay = 100))

Properties

Link copied to clipboard
var finishedAt: Instant?
Link copied to clipboard
val messages: MutableSharedFlow<Message>
Link copied to clipboard
val startedAt: Instant

Functions

Link copied to clipboard
fun State.getMessages(): SharedFlow<Message>
Link copied to clipboard