PersistenceSettings

Settings that can be passed to enableIndexedDbPersistence() to configure Firestore persistence.

Persistence cannot be used in a Node.js environment.

interface PersistenceSettings {
forceOwnership?: boolean;
}

§Properties

§
forceOwnership?: boolean
[src]

Whether to force enable persistence for the client. This cannot be used with multi-tab synchronization and is primarily intended for use with Web Workers. Setting this to true will enable persistence, but cause other tabs using persistence to fail.