Package-level declarations

Caching configuration.

Types

Link copied to clipboard

Cache configuration options used by the configureCache function.

Functions

Link copied to clipboard
fun configureCache(config: CacheConfig.() -> Unit)

Configures the Factory cache. The function must be called before the cache is initialized (i.e., before any call to the of method) and should be called once. Example:

Link copied to clipboard

Disables the Factory cache. The function must be called before the cache is initialized (i.e., before any call to the of method) and should be called once.