PersistentLocalCache interface

Provides a persistent cache backed by IndexedDb to the SDK.

To use, create an instance using the factory function , then set the instance to FirestoreSettings.cache and call initializeFirestore using the settings object.

Signature:

exportdeclareinterfacePersistentLocalCache

Properties

PropertyTypeDescription
kind'persistent'

PersistentLocalCache.kind

Signature:

kind:'persistent';