kotcity4 / kotcity.memoization / kotlin.Function2 / cache

cache

fun <A, B, R> ((A, B) -> R).cache(cacheOptions: CacheOptions = CacheOptions()): Pair<Cache<Pair<A, B>, R>, (A, B) -> R>