Package-level declarations
Reactive key-value store algorithms represented by the Cache interface.
For convenience, adapters are provided:
cachecaches calls to anysuspendfunction,batchingCacheintercepts subsequent cache requests and batches them into a single larger request.
The following cache layers are available:
cachedInMemorystores results in-memory. When values are updated, it continues to show the old values while the new ones are being fetched,expireAfterexpires the values stored by the previous layer after some time has passed.
Types
Stores information temporarily to avoid unneeded network requests.
Stores information temporarily to avoid unneeded network requests, with no error strategy.
Functions
Cache implementation which collects cache requests into batches which are queried at the same time.
Cache implementation which calls a given transform suspending function.
In-browser Cache layer.
In-browser Cache implementation that is shared between tabs and persists when the browser is closed.
In-memory Cache layer.
In-browser Cache implementation that is cleared when the tab is closed.
Age-based Cache expiration strategy.