setValue
(Kotlin-specific) Allows the group state object to be used as a delegate. Will be null if it does not exist.
For example:
groupedDataset.mapGroupsWithState(GroupStateTimeout.NoTimeout()) { key, values, state: GroupState<Int> ->
var s by state
...
}Content copied to clipboard