Trevixal API
    Preparing search index...

    Function createWebStorage

    • localStorage / sessionStorage behind the async interface. Writes are synchronous underneath, which is what lets a page flush on pagehide. Quota errors surface as rejected promises rather than thrown exceptions.

      Parameters

      • storage: Storage
      • prefix: string = 'trevixal:'

      Returns KeyValueStorage