Type alias QueryObservationHandler
Query
Observation
Handler
: ((documents
: Document[], event
: LiveQueryEvent, signalNext
?: (() => void)) => void | Promise<void>)
Type declaration
-
- (documents: Document[], event: LiveQueryEvent, signalNext?: (() => void)): void | Promise<void>
-
Parameters
-
-
-
Optional
signalNext: (() => void)
Returns void | Promise<void>
The closure that is called whenever the documents covered by a live query change.