teller / com.levibostian.teller.repository / OnlineRepository / observe

observe

fun observe(): Observable<OnlineDataState<CACHE>>

How to begin observing the state of the data for this OnlineRepository.

Teller will automatically perform a refresh if the cached data does not exist or is too old. You will get notified anytime that the state of the data changes or the data itself ever changes.