T
NativePlatformSettings
The loader's native settings file, which holds every Bucket.
type NativePlatformSettings = { … }Members
apply
(changes: readonly NativeSettingsChange[]): booleanApplies changes and writes the file at once; false when the changes are malformed or the write failed.
flush
(): booleanWrites staged changes to the file, if any.
get
(store?: string, key?: string): NativeSerializable | undefinedReads every Bucket with no arguments, one Bucket with store, or one dot-path key; undefined when unset.
stage
(changes: readonly NativeSettingsChange[]): booleanApplies changes in memory, to be written by flush.