MCPcopy
hub / github.com/angular/angularfire / snapshotChanges

Function snapshotChanges

src/compat/database/list/create-reference.ts:22–24  ·  view source on GitHub ↗
(events?: ChildEvent[])

Source from the content-addressed store, hash-verified

20 push: (data: T) => refInZone.push(data),
21 remove: createRemoveMethod(refInZone),
22 snapshotChanges(events?: ChildEvent[]) {
23 return snapshotChanges<T>(query, events, outsideAngularScheduler).pipe(pendingUntilEvent(injector));
24 },
25 stateChanges(events?: ChildEvent[]) {
26 return stateChanges<T>(query, events, outsideAngularScheduler).pipe(pendingUntilEvent(injector));
27 },

Callers

nothing calls this directly

Calls 1

snapshotChangesFunction · 0.90

Tested by

no test coverage detected