kotcity4 / kotcity.memoization / kotlin.Function1

Extensions for kotlin.Function1

cache

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