Function createIndexedDbWorkspaceStorage

  • Browser persistence with one atomic compare-and-write transaction per catalog. Pass the host's indexedDB explicitly; importing this module needs no browser.

    Parameters

    • factory: IDBFactory
    • databaseName: string = 'openalgo-chart-workspaces'

    Returns IndexedDbWorkspaceStorage