teller / com.levibostian.teller.repository / LocalRepository / isCacheEmpty

isCacheEmpty

protected abstract fun isCacheEmpty(cache: CACHE, requirements: GET_CACHE_REQUIREMENTS): Boolean

Determines if cache is empty or not. This is used internally by Teller to determine if the cache from observeCache is empty or not to then pass to LocalDataState.deliverState with the state of the cache.

This is called from same thread as observeCache