snapshots

fun DocumentReference.snapshots(metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE): Flow<DocumentSnapshot>(source)

The document and every change to it as a Flow, which fails if the listener fails.


fun Query.snapshots(metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE): Flow<QuerySnapshot>(source)

The query results and every change to them as a Flow, which fails if the listener fails.