@tauri-store/zustand - v0.1.0
    Preparing search index...

    Variable saveConst

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

    Saves a store to the disk.

    Type declaration

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

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

        Returns Promise<void>

    import { save } from '@tauri-store/zustand';

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

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