mirror of
				https://github.com/InsanusMokrassar/MicroUtils.git
				synced 2025-11-04 06:00:22 +00:00 
			
		
		
		
	Create FallbackCacheRepo.kt
This commit is contained in:
		
							
								
								
									
										7
									
								
								repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user