ConfigManager

interface ConfigManager

Typed configuration access.

Implementations are responsible for:

The core module provides a default file-backed implementation; platforms may override.

Functions

Link copied to clipboard
abstract fun <T : Any> load(key: ConfigKey<T>): T

Loads a configuration for key, applying migrations if needed.

Link copied to clipboard
abstract fun <T : Any> save(key: ConfigKey<T>, value: T)

Saves value for key using ConfigKey.codec.