AttemptHistory

data class AttemptHistory<RESULT : Any, FEEDBACK : Feedback>(_attempts: MutableList<Attempt<RESULT, FEEDBACK>> = mutableListOf(), lastResult: RESULT? = null, val timestamp: Instant = Instant.now())

Mutable object. We only bind this once

Constructors

Link copied to clipboard
constructor(_attempts: MutableList<Attempt<RESULT, FEEDBACK>> = mutableListOf(), lastResult: RESULT? = null, timestamp: Instant = Instant.now())

Properties

Link copied to clipboard
Link copied to clipboard
open val timestamp: Instant

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Evaluator can use this to access the last result.