kConserveSnapshot top-level property

bool kConserveSnapshot
getter/setter pair

If this is set to true, the latest snapshot of a document will be cached and reused. This is useful if you want to reduce the amount of reads to Firestore, but it will increase the amount of memory used by the application and has also slightly higher performance costs.

Implementation

bool kConserveSnapshot = true;