aigentic
0.0.4-SNAPSHOT
common
core
/
community.flock.aigentic.core.agent.state
/
State
State
data
class
State
(
val
startedAt
:
Instant
=
Clock.System.now()
,
var
finishedAt
:
Instant
?
=
null
,
val
messages
:
MutableSharedFlow
<
Message
>
=
MutableSharedFlow(replay = 100)
)
Members
Members & Extensions
Constructors
State
Link copied to clipboard
constructor
(
startedAt
:
Instant
=
Clock.System.now()
,
finishedAt
:
Instant
?
=
null
,
messages
:
MutableSharedFlow
<
Message
>
=
MutableSharedFlow(replay = 100)
)
Properties
finished
At
Link copied to clipboard
var
finishedAt
:
Instant
?
messages
Link copied to clipboard
val
messages
:
MutableSharedFlow
<
Message
>
started
At
Link copied to clipboard
val
startedAt
:
Instant
Functions
get
Messages
Link copied to clipboard
fun
State
.
getMessages
(
)
:
SharedFlow
<
Message
>
get
Status
Link copied to clipboard
fun
State
.
getStatus
(
)
:
Flow
<
AgentStatus
>