Hierarchy

  • FPStorageProvider

Properties

Properties

getItem: ((key: string) => Promise<string>)

Type declaration

    • (key: string): Promise<string>
    • Get data from storage.

      Parameters

      • key: string

        The key of the storage item.

      Returns Promise<string>

setItem: ((key: string, data: string) => Promise<void>)

Type declaration

    • (key: string, data: string): Promise<void>
    • Save data to storage.

      Parameters

      • key: string

        The key of the storage item.

      • data: string

        The data of the storage item.

      Returns Promise<void>

Generated using TypeDoc