contentEquals

Function to compare the content of the data.

This function is used to determine whether the data is identical to the previous data via QueryCommand. If the data is considered the same, only QueryState.staleAt is updated. This can be useful when strict update management is needed, such as when special comparison is necessary, although it is generally not that important.

override val contentEquals: QueryContentEquals<SomeType> = { a, b -> a.xx == b.xx }