@wharfkit/session - v4.0.1
    Preparing search index...

    Class BrowserLocalStorage

    Interface storage adapters should implement.

    Storage adapters are responsible for persisting [[Session]]s and can optionally be passed to the [[SessionKit]] constructor to auto-persist sessions.

    Implements

    Index
    keyPrefix: string = ''
    • Write string to storage at key. Should overwrite existing values without error.

      Parameters

      • key: string
      • data: string

      Returns Promise<void>