Vuex - Long Term Memory
    Preparing search index...

    Class LTM<S>

    Long Term Memory main class.

    Type Parameters

    • S

      Vuex state type.

    Index
    • Type Parameters

      • S

        Vuex state type.

      Parameters

      • options: LTMConfig<S>

        Configuration options for state persistence.

      Returns LTM<S>

    ready: Promise<void>

    Resolves when the state has been restored or no persisted state was found.

    • get plugin(): Plugin<S>

      Vuex plugin (i.e. new Vuex.Store({ plugins: [ltm.plugin] })).

      Returns Plugin<S>