History

fun <T> History(maxSize: Int, initialValue: List<T>)

Parameters

initialValue

initial content of the history

maxSize

history keeps at most this many last values