Type alias QueryObservationHandler

QueryObservationHandler: ((documents: Document[], event: LiveQueryEvent, signalNext?: (() => void)) => void | Promise<void>)

Type declaration

    • (documents: Document[], event: LiveQueryEvent, signalNext?: (() => void)): void | Promise<void>
    • The closure that is called whenever the documents covered by a live query change.

      Parameters

      Returns void | Promise<void>