Optional
saveInterval?: numberInterval in milliseconds to use when saving the store.
This option is only valid when StoreBackendOptions.saveStrategy is set to debounce
or throttle
.
Optional
saveOnChange?: booleanSaves the store whenever there is a state change.
Optional
saveOnExit?: booleanSaves the store automatically on a graceful exit.
Optional
saveStrategy?: LooseTimeStrategyKindStrategy to use when saving the store.
For a detailed explanation about the differences between debounce
and throttle
, see:
https://kettanaito.com/blog/debounce-vs-throttle
Options that can also be updated from Rust.