diff --git a/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt b/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt new file mode 100644 index 00000000000..a1130e8f645 --- /dev/null +++ b/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt @@ -0,0 +1,7 @@ +package dev.inmo.micro_utils.repos.cache + +/** + * Any inheritor of this should work with next logic: try to take data from their original repo, if successful - save data to internal + * [dev.inmo.micro_utils.repos.cache.cache.FullKVCache] or try to take data from that internal cache + */ +interface FallbackCacheRepo : CacheRepo