disk
open fun <T> disk(key: String, cacheKeyUpdater: Option.CacheKeyUpdater<T>): Option<T>
Content copied to clipboard
Returns a new Option that uses the given to update disk cache keys.
Parameters
open fun <T> disk( key: String, defaultValue: T, cacheKeyUpdater: Option.CacheKeyUpdater<T>): Option<T>
Content copied to clipboard
Returns a new Option that uses the given to update disk cache keys and provides the given value as the default value.