lruCache

fun <T : Any, I : Any> KordCacheBuilder.lruCache(size: Int = 100): Generator<T, I>(source)

A Generator creating DataEntryCaches with a maximum size, removing items on last insertion. Shortcut for lruLinkedHashMap.