Type alias CollectionsObservationHandler

CollectionsObservationHandler: ((event: CollectionsEvent) => void | Promise<void>)

Type declaration

    • (event: CollectionsEvent): void | Promise<void>
    • The closure that is called whenever the collections covered by a live query change.

      Parameters

      Returns void | Promise<void>