MemoryLocalCache interface

Provides an in-memory cache to the SDK. This is the default cache unless explicitly configured otherwise.

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

Signature:

exportdeclareinterfaceMemoryLocalCache

Properties

PropertyTypeDescription
kind'memory'

MemoryLocalCache.kind

Signature:

kind:'memory';