kinetex - v1.0.0-rc.1
    Preparing search index...

    Class WebStorageAdapter

    Web Storage (localStorage / sessionStorage) cache adapter. Prefixes keys to avoid collisions with other data. Returns false from set() on QuotaExceededError.

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • storage: Storage

        The Storage instance (localStorage or sessionStorage)

      • prefix: string = "hc:"

        Key prefix to isolate cache entries. Default: "hc:"

      Returns WebStorageAdapter

    Methods