toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.common.workflow.loop
/
ResultHistory
Result
History
data
class
ResultHistory
<
RESULT
:
Any
>
(
_results
:
MutableList
<
RESULT
>
=
mutableListOf()
,
val
timestamp
:
Instant
=
Instant.now()
)
Mutable object. We only bind this once
Members
Constructors
Result
History
Link copied to clipboard
constructor
(
_results
:
MutableList
<
RESULT
>
=
mutableListOf()
,
timestamp
:
Instant
=
Instant.now()
)
Properties
running
Time
Link copied to clipboard
open
val
runningTime
:
Duration
timestamp
Link copied to clipboard
open
val
timestamp
:
Instant
Functions
attempt
Count
Link copied to clipboard
fun
attemptCount
(
)
:
Int
last
Result
Link copied to clipboard
fun
lastResult
(
)
:
RESULT
?
results
Link copied to clipboard
fun
results
(
)
:
List
<
RESULT
>