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

    Variable getStoreStateConst

    getStoreState: <T extends State>(storeId: string) => Promise<T> = ...

    Gets the state of a store.

    Type declaration

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

    const state = await getStoreState('my-store');