aigentic
0.0.4-SNAPSHOT
common
core
/
community.flock.aigentic.core.agent.state
Package-level
declarations
Types
Functions
Types
State
Link copied to clipboard
data
class
State
(
val
startedAt
:
Instant
=
Clock.System.now()
,
var
finishedAt
:
Instant
?
=
null
,
val
messages
:
MutableSharedFlow
<
Message
>
=
MutableSharedFlow(replay = 100)
)
Functions
get
Messages
Link copied to clipboard
fun
State
.
getMessages
(
)
:
SharedFlow
<
Message
>
get
Status
Link copied to clipboard
fun
State
.
getStatus
(
)
:
Flow
<
AgentStatus
>
to
Run
Link copied to clipboard
fun
Pair
<
State
,
FinishedOrStuck
>
.
toRun
(
)
:
Run