triggerCacheClear

abstract fun triggerCacheClear(duration: Duration, repeat: Boolean = true)(source)

Triggers a thread to clear the entire cache after a certain amount of time

Parameters

duration

The duration to wait before clearing the cache

repeat

whether to repeat the clearing of the cache