Current object-store implementation
IObjectStorage resolves to ObjectStorage in singleton scope. The default implementation uses IndexedDB with one database (objectStore_6a46e952c07d42629cd8fca03b21ce30) and one object store (objects).
set(key, value) performs a read-write transaction and stores/replaces the value by key. get(key) performs a read-only transaction and returns the stored value (or undefined when the key does not exist).
close() closes the cached database connection. The next call to get or set reopens it automatically. Because it depends on IDBFactory, this service is browser-only and not available during SSR.
IndexedDB stores values with the structured-clone algorithm, so stored values must be structured-clone compatible. For example, functions, DOM nodes, and class instances with non-cloneable state cannot be persisted directly.