Whether to force enable persistence for the client. This cannot be used
with synchronizeTabs:true and is primarily intended for use with Web
Workers. Setting this to true will enable persistence, but cause other
tabs using persistence to fail.
Whether to synchronize the in-memory state of multiple tabs. Setting this
to true in all open tabs enables shared access to local persistence,
shared execution of queries and latency-compensated local document updates
across all connected instances.
To enable this mode, synchronizeTabs:true needs to be set globally in all
active tabs. If omitted or set to 'false', enablePersistence() will fail
in all but the first tab.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/node/firebase).\n- [firestore](/docs/reference/node/firebase.firestore).\n- PersistenceSettings \nSettings that can be passed to Firestore.enablePersistence() to configure\nFirestore persistence.\n\nIndex\n\nProperties\n\n- [experimentalForceOwningTab](/docs/reference/node/firebase.firestore.PersistenceSettings#experimentalforceowningtab)\n- [synchronizeTabs](/docs/reference/node/firebase.firestore.PersistenceSettings#synchronizetabs)\n\nProperties\n\nOptional experimentalForceOwningTab \nexperimentalForceOwningTab: boolean \nWhether to force enable persistence for the client. This cannot be used\nwith `synchronizeTabs:true` and is primarily intended for use with Web\nWorkers. Setting this to `true` will enable persistence, but cause other\ntabs using persistence to fail.\n\nThis setting may be removed in a future release. If you find yourself\nusing it for a specific use case or run into any issues, please tell us\nabout it in\n\u003chttps://github.com/firebase/firebase-js-sdk/issues/983\u003e.\n\nOptional synchronizeTabs \nsynchronizeTabs: boolean \nWhether to synchronize the in-memory state of multiple tabs. Setting this\nto `true` in all open tabs enables shared access to local persistence,\nshared execution of queries and latency-compensated local document updates\nacross all connected instances.\n\nTo enable this mode, `synchronizeTabs:true` needs to be set globally in all\nactive tabs. If omitted or set to 'false', `enablePersistence()` will fail\nin all but the first tab."]]
Settings that can be passed to Firestore.enablePersistence() to configure Firestore persistence.