@tauri-store/svelte - v2.1.1
    Preparing search index...

    Interface StoreBackendOptions

    Options that can also be updated from Rust.

    interface StoreBackendOptions {
        saveInterval?: number;
        saveOnChange?: boolean;
        saveOnExit?: boolean;
        saveStrategy?: LooseTimeStrategyKind;
    }
    Index

    Properties

    saveInterval?: number

    Interval in milliseconds to use when saving the store. This option is only valid when StoreBackendOptions.saveStrategy is set to debounce or throttle.

    0
    
    saveOnChange?: boolean

    Saves the store whenever there is a state change.

    false
    
    saveOnExit?: boolean

    Saves the store automatically on a graceful exit.

    true
    
    saveStrategy?: LooseTimeStrategyKind

    Strategy 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

    'immediate'