mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-06-01 23:45:28 +00:00
9 lines
370 B
Kotlin
9 lines
370 B
Kotlin
package dev.inmo.micro_utils.repos.cache
|
|
|
|
/**
|
|
* Any inheritor of this should work with next logic: try to take data from original repo and,
|
|
* if not exists, try to take from the cache some. In case if original repo have returned result, it should be saved to the internal
|
|
* [dev.inmo.micro_utils.repos.cache.cache.KVCache]
|
|
*/
|
|
interface FallbackCacheRepo : CacheRepo
|