API reference › @evolu/common › local‑first/Shared › DevicePersistenceDep

Defined in: packages/common/src/local-first/Shared.ts:1489

Tells what the platform can promise about the databases it stores.

NotPersisted means the platform offers no persistent storage now, as a browser does in Safari's Private Browsing or a Firefox private window, so the worker keeps every database in memory; see Storage in the Shared module.

Properties

getDevicePersistence

readonly getDevicePersistence: () => Promise<DevicePersistence>;

Defined in: packages/common/src/local-first/Shared.ts:1490