KStateWithHistory

constructor(defaultValue: T, capacity: Int = 10)(source)

Parameters

defaultValue

Initial value pushed into history.

capacity

Maximum number of history entries retained. Default: 10.