Home > @firebase/firestore > / > PersistenceSettings
PersistenceSettings interface
Settings that can be passed to enableIndexedDbPersistence()
to configure Firestore persistence.
Signature:
export declare interface PersistenceSettings
Properties
Property | Type | Description |
---|---|---|
forceOwnership? | boolean | (Optional) 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. |