quodolores
Version:
Monorepo for the Firebase JavaScript SDK
14 lines (8 loc) • 685 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [PersistenceSettings](./firestore_.persistencesettings.md) > [forceOwnership](./firestore_.persistencesettings.forceownership.md)
## PersistenceSettings.forceOwnership property
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.
<b>Signature:</b>
```typescript
forceOwnership?: boolean;
```