NOTE: Although an onCompletion callback can be provided, it will never be called because the snapshot stream is never-ending.
(observer: { complete?: () => void; error?: (error: Error) => void; next?: (snapshot: IQuerySnapshot<T>) => void })
| 25 | |
| 26 | /** NOTE: Although an onCompletion callback can be provided, it will never be called because the snapshot stream is never-ending. */ |
| 27 | onSnapshot(observer: { complete?: () => void; error?: (error: Error) => void; next?: (snapshot: IQuerySnapshot<T>) => void }): () => void; |
| 28 | |
| 29 | onSnapshot( |
| 30 | options: SnapshotListenOptions, |