trigger Cache Type Clear
abstract fun triggerCacheTypeClear(cacheId: CacheIds, duration: Duration, repeat: Boolean = true)(source)
Triggers a thread to clear a certain cache type after a certain amount of time
Parameters
cache Id
The id of the cache
duration
The duration to wait before clearing the cache
repeat
whether to repeat the clearing of the cache
abstract fun triggerCacheTypeClear(cacheIds: List<CacheIds>, duration: Duration, repeat: Boolean = true)(source)
open fun triggerCacheTypeClear(cacheIds: List<CacheIds>, duration: Long, repeat: Boolean = true)(source)
Triggers a thread to clear a list of cache types after a certain amount of time
Parameters
cache Ids
The ids of the caches
duration
The duration to wait before clearing the cache
repeat
whether to repeat the clearing of the cache