Optional
saveInterval in milliseconds to use when saving the store.
This option is only valid when StoreBackendOptions.saveStrategy is set to debounce
or throttle
.
Optional
saveSaves the store whenever there is a state change.
Optional
saveSaves the store automatically on a graceful exit.
Optional
saveStrategy 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.