T

NativePlatformSettings

The loader's native settings file, which holds every Bucket.

type NativePlatformSettings = { … }

Members

apply(changes: readonly NativeSettingsChange[]): boolean

Applies changes and writes the file at once; false when the changes are malformed or the write failed.

flush(): boolean

Writes staged changes to the file, if any.

get(store?: string, key?: string): NativeSerializable | undefined

Reads every Bucket with no arguments, one Bucket with store, or one dot-path key; undefined when unset.

stage(changes: readonly NativeSettingsChange[]): boolean

Applies changes in memory, to be written by flush.