<Feature Request: MutableStateFlow - support equal...
# forum
r
Feature Request: MutableStateFlow - support equalsPolicy{} saying I have a data class MyHeavyDataClass(...) “heavy” data class with multiple fields / nested fields / anything that would cause MyHeavyDataClass::equals() to run in non-trivial perfomance-hitting duration. now let’s say I (as the feature developer) want to expose a StateFlow using MutableStateFlow under the hood. Let’s also say that I know what I’m emitting, and want to exclude the == checks on the state flow. currently the best thing I came up with was: data class Wrapper(val uniqueId:...