MemoryCacheInterceptor

class MemoryCacheInterceptor<T>(memoryCache: () -> MemoryCache<MemoryKey, T>, mapToMemoryValue: (ImageResult) -> T?, mapToImageResult: (T) -> ImageResult?) : Interceptor

Constructors

Link copied to clipboard
constructor(memoryCache: () -> MemoryCache<MemoryKey, T>, mapToMemoryValue: (ImageResult) -> T?, mapToImageResult: (T) -> ImageResult?)

Functions

Link copied to clipboard
open suspend override fun intercept(chain: Interceptor.Chain): ImageResult