Package-level declarations


Link copied to clipboard
class History<T>(capacity: Int, initialEntries: List<T>)

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


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

factory-method to create a History

fun <D> Store<D>.history(capacity: Int = 0, initialEntries: List<D> = emptyList(), synced: Boolean = true): History<D>

factory-method to create a History synced with the given Store, so that each update is automatically stored in history.