byVersion
fun <T> byVersion(fromVersion: Int, toVersion: Int, versionOf: (T) -> Int, page: suspend (from: Int) -> List<T>): Flow<T>
The items with versions in fromVersion..toVersion, in version order: page reads at most SIZE of them from a version on, in version order, and versionOf tells an item's version. A page of fewer than SIZE, or one that reaches toVersion, is the last.