Type alias SingleObservationHandler
SingleObservationHandler: ((document, event, signalNext?) => void | Promise<void>)
Type declaration
-
- (document, event, signalNext?): void | Promise<void>
-
Parameters
-
document: Document | null
-
-
Optional
signalNext: (() => void)
Returns void | Promise<void>
The closure that is called whenever a single documunent covered by a live query changes.