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

    Variable saveNowConst

    saveNow: (...storeId: (string | string[])[]) => Promise<void> = ...

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

    Type declaration

      • (...storeId: (string | string[])[]): Promise<void>
      • Parameters

        • ...storeId: (string | string[])[]

        Returns Promise<void>

    import { saveNow } from '@tauri-store/svelte';

    // Save a single store.
    await saveNow('my-store');

    // Save some stores.
    await saveNow('my-store', 'my-store-2');