Package-level declarations
Reactive key-context-value store algorithms represented by the ContextualCache 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.
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-memory ContextualCache layer.
Age-based ContextualCache expiration strategy.