Package dev.fritz2.history

Types

Link copied to clipboard
class History<T>(maxSize: Int, initialValue: List<T>)

Keeps track of historical values (i.e. of a Store) and allows you to navigate back in history

Functions

Link copied to clipboard
fun <T> history(maxSize: Int = 10, initialValue: List<T> = emptyList()): History<T>

factory-method to create a History (i.e. for a Store)