Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PersistentStore<T>

Interface for underlying storage for cache and offline data

Type parameters

  • T

Hierarchy

  • PersistentStore

Index

Properties

getItem

getItem: function

Type declaration

    • (key: string): Promise<T>
    • Parameters

      • key: string

      Returns Promise<T>

removeItem

removeItem: function

Type declaration

    • (key: string): Promise<void> | void
    • Parameters

      • key: string

      Returns Promise<void> | void

setItem

setItem: function

Type declaration

    • (key: string, data: T): Promise<void>
    • Parameters

      • key: string
      • data: T

      Returns Promise<void>

Generated using TypeDoc