fun dispose(): Unit
Dispose of the OnlineRepository to shut down observing of the cache and stops refresh tasks if they have begun.
Do this in onDestroy() of your Fragment or Activity, for example.
After calling dispose, your OnlineRepository instance is useless. Calling any function on the instance in the future will result in a RuntimeException.