CachingGateway
class CachingGateway(cache: DataCache, gateway: Gateway, dispatcher: CoroutineDispatcher = Dispatchers.Default) : DataCache, Gateway, CoroutineScope(source)
A bridge between DataCache and Gateway that automatically empties cache on disconnect.
Constructors
Link copied to clipboard
constructor(cache: DataCache, gateway: Gateway, dispatcher: CoroutineDispatcher = Dispatchers.Default)
Functions
Link copied to clipboard
Creates a DataCacheView for this view, only removing elements that were added directly to this instance.
Link copied to clipboard