Interface IOpts

Hierarchy

Properties

dbName?: string

Optional database name. The same name must be used to open the same database.

indexedDB: IDBFactory

The Indexed DB interface e.g. window.indexedDB

localStorage?: Storage

The local storage instance to persist some forms of data such as tokens. Rooms will NOT be stored.

workerFactory?: (() => Worker)

Type declaration

    • (): Worker
    • Optional factory to spin up a Worker to execute the IDB transactions within.

      Returns Worker

Generated using TypeDoc