Type Alias SingleObservationHandler

SingleObservationHandler: ((document: Document | null, event: SingleDocumentLiveQueryEvent, signalNext?: (() => void)) => void | Promise<void>)

The closure that is called whenever a single documunent covered by a live query changes.

Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption