MCPcopy Create free account
hub / github.com/NativeScript/firebase / onSnapshot

Method onSnapshot

packages/firebase-firestore/index.d.ts:27–27  ·  view source on GitHub ↗

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 })

Source from the content-addressed store, hash-verified

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,

Callers 1

issue_51Method · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected