MemoryLocalCache interface
Stay organized with collections
Save and categorize content based on your preferences.
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:
export declare interface MemoryLocalCache
Properties
Property |
Type |
Description |
kind |
'memory' |
|
MemoryLocalCache.kind
Signature:
kind: 'memory';
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-30 UTC.
[null,null,["Last updated 2023-03-30 UTC."],[],[],null,["Provides an in-memory cache to the SDK. This is the default cache unless explicitly configured otherwise.\n\nTo use, create an instance using the factory function , then set the instance to `FirestoreSettings.cache` and call `initializeFirestore` using the settings object.\n\n**Signature:** \n\n export declare interface MemoryLocalCache \n\nProperties\n\nMemoryLocalCache.kind\n\n**Signature:** \n\n kind: 'memory';"]]