跳到主要内容

OpfsFallback

type OpfsFallback = "memory" | "throw";

Defined in: packages/rxdb-adapter-sqlite-core/src/Oo1ClientBase.ts:34

Behaviour when an OPFS-backed database cannot be opened (e.g. browser without Atomics.wait, missing crossOriginIsolated, etc.).

  • 'memory': log a warning and explicitly fall back to :memory:.
  • 'throw' (default): re-throw the underlying error so the caller can surface it.