Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Jan 13, 2025
1 parent 7aefe6e commit 0ecac9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firestore/lib/utils/track_changes_support.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ extension DocumentReferenceSnapshotSupportExtension on DocumentReference {
CollectionReference operator [](String path) => collection(path);
}

/// Helper for query snapshot support
extension QuerySnapshotSupportExtension on Query {
Stream<QuerySnapshot> onSnapshotsSupport(
/// Default is to delay to 1h when onSnapshot is not supported
Stream<QuerySnapshot> onSnapshotSupport(
{bool includeMetadataChanges = false, TrackChangesPullOptions? options}) {
Future<QuerySnapshot> getSnapshot() async {
return get();
Expand Down

0 comments on commit 0ecac9a

Please sign in to comment.