RepositoryStateFlowCache

fun <R : MinimalStoreRepository<K, V>> RepositoryStateFlowCache(cacheScope: CoroutineScope, repository: R, rtm: RepositoryTransactionManager, infiniteCache: Boolean = false, cacheDuration: Duration = 1.minutes)