API reference › @evolu/common › local‑first/Db › DatabaseHeldError
Defined in: packages/common/src/local-first/Db.ts:282
Another context kept holding the database's files, so the database did not open; see WaitForDatabaseRelease.
A browser can keep the files of a worker that ended without closing them until the browser restarts. Ask the user to close the app's other tabs or to restart the browser, then to reload the app.
Extends
Typed<"DatabaseHeldError">
Properties
name
readonly name: string & Brand<"UrlSafeString"> & Brand<"Name">;
Defined in: packages/common/src/local-first/Db.ts:283
type
readonly type: "DatabaseHeldError";
Defined in: packages/common/src/Type.ts:19043