Skip to content

Commit adcc240

Browse files
committed
feat: add other impl
1 parent 01582b7 commit adcc240

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

packages/firestore/lib/modular/snapshot.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,18 @@ export declare function queryEqual<AppModelType, DbModelType extends DocumentDat
237237
* @param onSync
238238
*/
239239
export declare function onSnapshotsInSync(firestore: Firestore, onSync: () => void): Unsubscribe;
240+
241+
/**
242+
* /**
243+
* Attaches a listener for a snapshots-in-sync event.
244+
* The snapshots-in-sync event indicates that all listeners affected by a given change have fired, even if
245+
* a single server-generated change affects multiple listeners.
246+
*
247+
* @param firestore
248+
* @param onSync
249+
*/
250+
export declare function onSnapshotsInSync(firestore: Firestore, observer: {
251+
next?: (value: void) => void;
252+
error?: (error: FirestoreError) => void;
253+
complete?: () => void;
254+
}): Unsubscribe;

0 commit comments

Comments
 (0)