Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SnapshotListenOptions

An options object that can be passed to {@link (onSnapshot:1)} and QuerySnapshot.docChanges to control which types of changes to include in the result set.

interface SnapshotListenOptions {
readonly includeMetadataChanges?: boolean;
readonly source?: ListenSource;
}

§Properties

§
readonly includeMetadataChanges?: boolean
[src]

Include a change even if only the metadata of the query or of a document changed. Default is false.

§
readonly source?: ListenSource
[src]

Set the source the query listens to. Default to "default", which listens to both cache and server.