teller-android / com.levibostian.teller.repository / LocalRepository / observeCache

observeCache

protected abstract fun observeCache(requirements: GET_CACHE_REQUIREMENTS): Observable<CACHE>

This function should be setup to trigger anytime there is a response change. So if you were to call saveCache, anyone observing the Observable returned here will get notified of a new update.

This will be called from UI thread