anyMemoryCache

fun <T : Any> anyMemoryCache(mapToMemoryValue: (ImageResult) -> T?, mapToImageResult: (T) -> ImageResult?, block: () -> MemoryCache<MemoryKey, T>)