AnyCache
A type-forwarding wrapper around an arbitrary Cache.
Provided for API symmetry with SwiftyNetwork's AnyCache. Unlike Swift, Kotlin generics are not erased at the type level, so a Cache<V> is already usable as an abstract type — this class is a thin convenience for callers that want a concrete, non-generic-parameter-leaking cache handle. Implemented via interface delegation.
Functions
Link copied to clipboard
A hot stream of CacheChanges for this cache. The default is an empty flow, so caches that cannot observe mutations are simply non-reactive; observable caches override this.
Link copied to clipboard
Removes any value stored for key.