Skip to content

charton API


charton API / @chart-on/core / index / createSettingsStore

Function: createSettingsStore() ​

createSettingsStore(options?): SettingsStore

Defined in: packages/core/src/storage/settings.ts:44

User preferences with synchronous reads. A value comes from, in order: the app's locked values, then what the user set (this session, the snapshot, or the adapter), then the caller's fallback. Adapter failures never throw.

Parameters ​

options? ​

SettingsStoreOptions = {}

Returns ​

SettingsStore