Type alias CollectionsObservationHandler

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

Type declaration

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

      Parameters

      • event: CollectionsEvent
      • Optional signalNext: (() => void)
          • (): void
          • Returns void

      Returns void | Promise<void>