Package dev.gmetal.metador.response

Manages response specific (retrieving, caching, etc) functionality.

Types

CachedResponseProducer
Link copied to clipboard
class CachedResponseProducer(responseCacheSize: Int, clock: Clock) : ResponseProducer
A ResponseProducer subclass that produces responses from cached data
NetworkResponseProducer
Link copied to clipboard
class NetworkResponseProducer(resourceRetriever: ResourceRetriever, backgroundDispatcher: CoroutineDispatcher) : ResponseProducer
A ResponseProducer subclass that produces responses from the network
ResponseProducer
Link copied to clipboard
interface ResponseProducer
Common interface of all Response producing entities

Properties

DEFAULT_CACHE_ENTRY_INTERVAL
Link copied to clipboard
const val DEFAULT_CACHE_ENTRY_INTERVAL: Long