Backstage
    Preparing search index...

    A data store that can be used to store temporary data during development.

    Index

    Methods

    Methods

    • Loads data from the data store.

      Type Parameters

      • T

      Parameters

      • key: string

        The key used to identify the data.

      Returns Promise<{ data: T; loaded: boolean }>

      A promise that resolves to a result object that indicates whether the data was loaded, as well as the data.

    • Save data to the data store.

      Type Parameters

      • T

      Parameters

      • key: string

        The key used to identify the data.

      • data: T

        The data to save. The data will be serialized using advanced IPC serialization.

      Returns Promise<{ saved: boolean }>

      A promise that resolves to a result object that indicates whether the data was saved.