OptionaleffectOptionaleventsArray of event names to include in the observable. By default, only mutation events are included.
OptionalincludeOptionalincludeWhether or not to include the mutations that was performed.
If you do not need the mutations, set this to false to reduce bandwidth usage.
OptionalincludeWhether or not to include the document as it looked before the mutation event.
The previous revision will be available on the .previous property of the events,
and may be null in the case of a new document.
OptionalincludeWhether or not to include the resulting document in addition to the mutations performed.
If you do not need the actual document, set this to false to reduce bandwidth usage.
The result will be available on the .result property of the events.
OptionaltagOptional request tag for the listener. Use to identify the request in logs.
OptionalvisibilityWhether events should be sent as soon as a transaction has been committed (transaction, default),
or only after they are available for queries (query). Note that this is on a best-effort basis,
and listeners with query may in certain cases (notably with deferred transactions) receive events
that are not yet visible to queries.
Format of "effects", eg the resulting changes of a mutation. Currently only
mendozais supported, and (if set) will includeapplyandrevertarrays in the mutation events under theeffectsproperty.See The mendoza docs for more info