Optional
effectFormat for mutation effects.
'mendoza' includes apply
and revert
arrays.
Optional
eventsEvent types to include in the observable.
Optional
Internal
includeOptional
includeWhether to include the mutations that were performed.
Set to false
to reduce bandwidth if you only need the final document.
Optional
includeWhether to include the document state before the mutation. Useful for tracking what changed.
Optional
includeWhether to include the resulting document in addition to mutations.
Set to false
to reduce bandwidth if you only need mutation info.
Optional
tagOptional tag to identify the listener in logs
Optional
visibilityWhen to send events:
Options for listening to real-time updates. Used with
client.listen()
to subscribe to document changes.