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

    Interface TauriStoreContract

    A contract that a store must adhere to in order to be considered a valid implementation.

    interface TauriStoreContract {
        getPath: () => Promise<string>;
        save: () => Promise<void>;
        saveAll: () => Promise<void>;
        saveAllNow: () => Promise<void>;
        saveNow: () => Promise<void>;
        start: () => Promise<void>;
        stop: () => Promise<void>;
    }

    Implemented by

    Index

    Properties

    getPath: () => Promise<string>

    Path where the store is saved.

    save: () => Promise<void>

    Saves the store to the disk.

    saveAll: () => Promise<void>

    Saves all stores to the disk.

    saveAllNow: () => Promise<void>

    Saves all the stores to the disk immediately, ignoring the save strategy.

    saveNow: () => Promise<void>

    Saves the store to the disk immediately, ignoring the save strategy.

    start: () => Promise<void>

    Starts watching for changes.

    stop: () => Promise<void>

    Stops watching for changes.